Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 112.2 kB / 16.51 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009765/0.0009765, allocations: 45.7 kB / 299.9 MB, free: 6.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07746/0.07846, allocations: 49.45 MB / 349.4 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007342/0.08583, allocations: 7.464 MB / 356.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.09826, allocations: 10.95 MB / 367.8 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.09939, allocations: 39.69 kB / 367.8 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.1015, allocations: 0.6218 MB / 368.5 MB, free: 1.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.1048, allocations: 0.9758 MB / 369.4 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.1063, allocations: 487.8 kB / 369.9 MB, free: 212 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1457/0.2521, allocations: 2.465 MB / 372.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000416/0.2525, allocations: 257 kB / 372.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006194/0.2532, allocations: 466.1 kB / 373.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004093/0.2536, allocations: 0.5244 MB / 373.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.924e-05/0.2537, allocations: 37.12 kB / 373.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.2552, allocations: 0.7523 MB / 374.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.2554, allocations: 162 kB / 374.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004941/0.2559, allocations: 0.661 MB / 375.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.2577, allocations: 1.896 MB / 377.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2577, allocations: 0 / 377.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2577, allocations: 1.031 kB / 377.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.2577, allocations: 4 kB / 377.1 MB, free: 9.508 MB / 302.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.002576/0.2603, allocations: 1.98 MB / 379.1 MB, free: 8.332 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2604, allocations: 9.484 kB / 379.1 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.2606, allocations: 201.2 kB / 379.3 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.2622, allocations: 1.335 MB / 380.6 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.2623, allocations: 31.62 kB / 380.7 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.33e-05/0.2623, allocations: 50.19 kB / 380.7 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009214/0.2633, allocations: 0.5083 MB / 381.2 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2633, allocations: 4 kB / 381.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.2634, allocations: 19.62 kB / 381.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.2634, allocations: 16.61 kB / 381.3 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000913/0.2643, allocations: 475.6 kB / 381.7 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.2671, allocations: 2.096 MB / 383.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008421/0.2679, allocations: 0.7005 MB / 384.5 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/0.2686, allocations: 0.5291 MB / 385.1 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006428/0.2751, allocations: 6.525 MB / 391.6 MB, free: 380 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005089/0.2756, allocations: 293 kB / 391.9 MB, free: 256 kB / 302.1 MB Notification: Performance of pre-optimization done (n=55): time 2.454e-06/0.2756, allocations: 0 / 391.9 MB, free: 256 kB / 302.1 MB Notification: Performance of matching and sorting (n=59): time 0.003486/0.2791, allocations: 1.953 MB / 393.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.2791, allocations: 66.53 kB / 393.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.2806, allocations: 1.295 MB / 395.2 MB, free: 14.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.2806, allocations: 32.45 kB / 395.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005441/0.2812, allocations: 0.7137 MB / 395.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.2813, allocations: 203.3 kB / 396.1 MB, free: 13.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.2815, allocations: 127.8 kB / 396.2 MB, free: 13.83 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2816, allocations: 327.5 kB / 396.6 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.282, allocations: 200.7 kB / 396.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.2825, allocations: 367.9 kB / 397.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009067/0.2834, allocations: 0.5934 MB / 397.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.2835, allocations: 1.312 kB / 397.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001456/0.2849, allocations: 0.9137 MB / 398.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2849, allocations: 9.531 kB / 398.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.367e-05/0.285, allocations: 65.64 kB / 398.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003908/0.2854, allocations: 157 kB / 398.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/0.2859, allocations: 116.6 kB / 399 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/0.2883, allocations: 2.297 MB / 401.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/0.2889, allocations: 23.38 kB / 401.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.2889, allocations: 39.53 kB / 401.3 MB, free: 10.2 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 54 * 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,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004122/0.2893, allocations: 275.3 kB / 401.6 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.2895, allocations: 177.8 kB / 401.8 MB, free: 9.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.2912, allocations: 0.8762 MB / 402.7 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.2913, allocations: 7.5 kB / 402.7 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2913, allocations: 3.188 kB / 402.7 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.2913, allocations: 7.984 kB / 402.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.2923, allocations: 0.8628 MB / 403.5 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.058e-05/0.2924, allocations: 62.89 kB / 403.6 MB, free: 8.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.2927, allocations: 59.95 kB / 403.7 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003663/0.2931, allocations: 143.6 kB / 403.8 MB, free: 8.418 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.2931, allocations: 19.92 kB / 403.8 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/0.2955, allocations: 2.286 MB / 406.1 MB, free: 6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2955, allocations: 5.812 kB / 406.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.2973, allocations: 1.058 MB / 407.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.2976, allocations: 251 kB / 407.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.2978, allocations: 11.98 kB / 407.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.2982, allocations: 19.98 kB / 407.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.2983, allocations: 48.31 kB / 407.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.2983, allocations: 20 kB / 407.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009825/0.2993, allocations: 0.8646 MB / 408.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2993, allocations: 0 / 408.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009706/0.3003, allocations: 379.8 kB / 408.7 MB, free: 3.336 MB / 318.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 (30): * Single equations (assignments): 24 * 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,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006895/0.301, allocations: 455 kB / 409.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.3025, allocations: 0.8436 MB / 410 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3025, allocations: 4.062 kB / 410 MB, free: 2.078 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009064/0.3034, allocations: 0.5765 MB / 410.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000855/0.3043, allocations: 195.7 kB / 410.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.3078, allocations: 2.854 MB / 413.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006585/0.3084, allocations: 1.17 MB / 414.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006081/0.309, allocations: 187.2 kB / 415 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.3092, allocations: 83.44 kB / 415.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3092, allocations: 0 / 415.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of Templates: time 0.02457/0.3338, allocations: 12.95 MB / 428 MB, free: 132 kB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches