Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 206 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2324, allocations: 50.55 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007448/0.2398, allocations: 7.503 MB / 417.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.2516, allocations: 10.73 MB / 428.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.253, allocations: 83.25 kB / 428.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.255, allocations: 0.7061 MB / 428.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003535/0.2585, allocations: 1.185 MB / 430.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.2605, allocations: 0.6779 MB / 430.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003843/0.2644, allocations: 2.564 MB / 433.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004633/0.2648, allocations: 279.9 kB / 433.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006735/0.2655, allocations: 0.4976 MB / 434.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005639/0.2661, allocations: 0.5278 MB / 434.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.2662, allocations: 60 kB / 434.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.2681, allocations: 0.7688 MB / 435.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.2682, allocations: 190.8 kB / 435.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005367/0.2688, allocations: 0.6715 MB / 436.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.271, allocations: 1.946 MB / 438.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.271, allocations: 4 kB / 438.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.271, allocations: 0 / 438.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.372e-05/0.2711, allocations: 0 / 438.3 MB, free: 5.055 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002618/0.2737, allocations: 1.981 MB / 440.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.2737, allocations: 16.03 kB / 440.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.2739, allocations: 198.6 kB / 440.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.2756, allocations: 1.341 MB / 441.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.2756, allocations: 36.92 kB / 441.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/0.2757, allocations: 44 kB / 441.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008688/0.2766, allocations: 0.508 MB / 442.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2766, allocations: 4 kB / 442.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.2767, allocations: 20 kB / 442.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.2767, allocations: 15.98 kB / 442.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008564/0.2776, allocations: 476 kB / 442.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.2803, allocations: 2.1 MB / 445 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000916/0.2813, allocations: 0.7074 MB / 445.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006798/0.2819, allocations: 0.5174 MB / 446.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00526/0.2872, allocations: 4.908 MB / 451.2 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005549/0.2878, allocations: 310 kB / 451.5 MB, free: 6.973 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.585e-06/0.2878, allocations: 3.938 kB / 451.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004638/0.2924, allocations: 2.406 MB / 453.9 MB, free: 4.484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.2925, allocations: 59.84 kB / 453.9 MB, free: 4.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.2939, allocations: 1.288 MB / 455.2 MB, free: 3.129 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.2939, allocations: 29.7 kB / 455.3 MB, free: 3.094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005286/0.2945, allocations: 0.6997 MB / 455.9 MB, free: 2.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.2946, allocations: 224.7 kB / 456.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.2948, allocations: 122.2 kB / 456.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2949, allocations: 333.9 kB / 456.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/0.2953, allocations: 217.6 kB / 456.8 MB, free: 1.492 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/0.2958, allocations: 360.5 kB / 457.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009314/0.2968, allocations: 0.6073 MB / 457.8 MB, free: 436 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2968, allocations: 4 kB / 457.8 MB, free: 432 kB / 366.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001558/0.2983, allocations: 0.9699 MB / 458.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2984, allocations: 11.12 kB / 458.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.878e-05/0.2985, allocations: 60 kB / 458.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004613/0.2989, allocations: 184.9 kB / 459 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.2994, allocations: 103.8 kB / 459.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002994/0.3024, allocations: 2.763 MB / 461.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.3029, allocations: 24.03 kB / 461.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/0.3029, allocations: 36 kB / 461.9 MB, free: 12.13 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003914/0.3033, allocations: 281.6 kB / 462.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.3035, allocations: 177.9 kB / 462.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.3053, allocations: 0.9758 MB / 463.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3053, allocations: 4 kB / 463.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3053, allocations: 8 kB / 463.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3053, allocations: 3.938 kB / 463.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009136/0.3063, allocations: 0.9134 MB / 464.3 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.181e-05/0.3063, allocations: 63.98 kB / 464.3 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.3067, allocations: 63.95 kB / 464.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003999/0.3071, allocations: 168.7 kB / 464.6 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.063e-05/0.3071, allocations: 19.94 kB / 464.6 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/0.3099, allocations: 2.749 MB / 467.3 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3099, allocations: 7.938 kB / 467.4 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.3119, allocations: 1.181 MB / 468.5 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.3121, allocations: 254.9 kB / 468.8 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.3123, allocations: 15.94 kB / 468.8 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.3127, allocations: 19.98 kB / 468.8 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.3128, allocations: 48.38 kB / 468.9 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.3128, allocations: 27.98 kB / 468.9 MB, free: 4.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009777/0.3138, allocations: 0.8535 MB / 469.7 MB, free: 4.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3138, allocations: 0 / 469.7 MB, free: 4.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009081/0.3147, allocations: 379.8 kB / 470.1 MB, free: 3.691 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,17,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007629/0.3155, allocations: 475.3 kB / 470.6 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.3172, allocations: 0.9245 MB / 471.5 MB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3172, allocations: 0.6875 kB / 471.5 MB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.3183, allocations: 0.6431 MB / 472.1 MB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008479/0.3191, allocations: 209.7 kB / 472.4 MB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.3226, allocations: 2.454 MB / 474.8 MB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.3233, allocations: 1.174 MB / 476 MB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.3235, allocations: 91.38 kB / 476.1 MB, free: 13.61 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3235, allocations: 0 / 476.1 MB, free: 13.61 MB / 398.1 MB Notification: Performance of Templates: time 0.03029/0.3538, allocations: 24.33 MB / 0.4887 GB, free: 5.27 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches