Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001058/0.001058, allocations: 97.98 kB / 17.58 MB, free: 5.418 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.00107/0.00107, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 51.94 kB / 280.6 MB, free: 3.191 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0818/0.08302, allocations: 46.63 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008625/0.0917, allocations: 7.347 MB / 334.6 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.1044, allocations: 10.38 MB / 345 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.1056, allocations: 39.69 kB / 345 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.1077, allocations: 0.6909 MB / 345.7 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004113/0.1119, allocations: 1.173 MB / 346.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.1139, allocations: 0.6623 MB / 347.6 MB, free: 96 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004007/0.1179, allocations: 2.486 MB / 350.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000579/0.1185, allocations: 283.9 kB / 350.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006151/0.1192, allocations: 457.7 kB / 350.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006859/0.1199, allocations: 0.5201 MB / 351.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.12, allocations: 56 kB / 351.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001972/0.122, allocations: 0.6987 MB / 352 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.1222, allocations: 194.7 kB / 352.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007406/0.123, allocations: 0.6715 MB / 352.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.1252, allocations: 1.926 MB / 354.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1252, allocations: 4 kB / 354.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1252, allocations: 0 / 354.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.866e-05/0.1253, allocations: 0 / 354.8 MB, free: 8.762 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.002775/0.128, allocations: 1.973 MB / 356.8 MB, free: 6.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1281, allocations: 12.03 kB / 356.8 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/0.1283, allocations: 198.6 kB / 357 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.13, allocations: 1.345 MB / 358.4 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.1301, allocations: 37 kB / 358.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.571e-05/0.1302, allocations: 47.94 kB / 358.4 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009306/0.1311, allocations: 0.508 MB / 359 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1311, allocations: 0 / 359 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/0.1312, allocations: 19.98 kB / 359 MB, free: 4.512 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.1312, allocations: 16 kB / 359 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008688/0.1321, allocations: 476.1 kB / 359.5 MB, free: 4.031 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.135, allocations: 2.108 MB / 361.6 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009513/0.1359, allocations: 0.7001 MB / 362.3 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007365/0.1367, allocations: 0.5174 MB / 362.8 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007617/0.1443, allocations: 6.505 MB / 369.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000556/0.1449, allocations: 298.4 kB / 369.6 MB, free: 8.777 MB / 318.1 MB Notification: Performance of pre-optimization done (n=55): time 2.805e-06/0.1449, allocations: 0 / 369.6 MB, free: 8.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=59): time 0.003698/0.1486, allocations: 1.963 MB / 371.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.1487, allocations: 55.84 kB / 371.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.1504, allocations: 1.3 MB / 372.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.1505, allocations: 37.7 kB / 372.9 MB, free: 5.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006572/0.1512, allocations: 0.7072 MB / 373.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.1514, allocations: 209 kB / 373.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.1515, allocations: 118.2 kB / 374 MB, free: 4.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1517, allocations: 330 kB / 374.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/0.1521, allocations: 201.5 kB / 374.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/0.1527, allocations: 355.8 kB / 374.8 MB, free: 3.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.1549, allocations: 1.135 MB / 376 MB, free: 2.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1549, allocations: 4 kB / 376 MB, free: 2.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001697/0.1566, allocations: 0.9225 MB / 376.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.1567, allocations: 8 kB / 376.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-05/0.1568, allocations: 59.98 kB / 377 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004065/0.1572, allocations: 156 kB / 377.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.1576, allocations: 111.8 kB / 377.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1446/0.3022, allocations: 2.511 MB / 379.7 MB, free: 53.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006252/0.3029, allocations: 34.33 kB / 379.8 MB, free: 53.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9e-05/0.303, allocations: 31.61 kB / 379.8 MB, free: 53.13 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real T1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real 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.0004915/0.3035, allocations: 276.5 kB / 380.1 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/0.3038, allocations: 181.9 kB / 380.2 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002099/0.3059, allocations: 0.8819 MB / 381.1 MB, free: 52.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.3059, allocations: 5.562 kB / 381.1 MB, free: 52.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.306, allocations: 6.625 kB / 381.1 MB, free: 52.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.306, allocations: 3.266 kB / 381.1 MB, free: 52.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.3071, allocations: 0.8698 MB / 382 MB, free: 52.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.931e-05/0.3072, allocations: 54.95 kB / 382.1 MB, free: 52.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.3075, allocations: 67.38 kB / 382.1 MB, free: 52.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003468/0.3078, allocations: 146 kB / 382.3 MB, free: 52.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.3079, allocations: 19.7 kB / 382.3 MB, free: 52.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/0.31, allocations: 2.505 MB / 384.8 MB, free: 50.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3101, allocations: 0.5625 kB / 384.8 MB, free: 50.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.3119, allocations: 1.064 MB / 385.9 MB, free: 49.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.3122, allocations: 247.4 kB / 386.1 MB, free: 49.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.3125, allocations: 12.56 kB / 386.1 MB, free: 49.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.3129, allocations: 21 kB / 386.1 MB, free: 49.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.313, allocations: 49.53 kB / 386.2 MB, free: 49.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.3131, allocations: 24.27 kB / 386.2 MB, free: 49.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001225/0.3143, allocations: 0.8599 MB / 387.1 MB, free: 49.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3143, allocations: 0 / 387.1 MB, free: 49.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009936/0.3153, allocations: 372.5 kB / 387.4 MB, free: 49.35 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.0007254/0.316, allocations: 456.5 kB / 387.9 MB, free: 49.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.3177, allocations: 0.8657 MB / 388.7 MB, free: 48.83 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3177, allocations: 0 / 388.7 MB, free: 48.83 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009346/0.3186, allocations: 0.578 MB / 389.3 MB, free: 48.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007269/0.3194, allocations: 177.1 kB / 389.5 MB, free: 48.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.3229, allocations: 2.44 MB / 391.9 MB, free: 47.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006585/0.3236, allocations: 1.166 MB / 393.1 MB, free: 46.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005829/0.3242, allocations: 185.5 kB / 393.3 MB, free: 46.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.3243, allocations: 85.72 kB / 393.4 MB, free: 46.35 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3243, allocations: 0 / 393.4 MB, free: 46.35 MB / 318.1 MB Notification: Performance of Templates: time 0.02195/0.3463, allocations: 13.37 MB / 406.7 MB, free: 37.01 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches