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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009521/0.0009521, allocations: 75.75 kB / 21.97 MB, free: 2.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 170.6 kB / 25.33 MB, free: 9.168 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.016/1.016, allocations: 158.6 MB / 187.2 MB, free: 2.945 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.345e-05, allocations: 6.25 kB / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.005651/0.005675, allocations: 7 MB / 258 MB, free: 500 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009661/0.01534, allocations: 9.801 MB / 267.8 MB, free: 6.645 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008269/0.01616, allocations: 130.6 kB / 268 MB, free: 6.516 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.01758, allocations: 0.6267 MB / 268.6 MB, free: 5.887 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002482/0.02006, allocations: 1.225 MB / 269.8 MB, free: 4.648 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.02144, allocations: 0.6873 MB / 270.5 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003024/0.02446, allocations: 2.632 MB / 273.1 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003843/0.02485, allocations: 176.4 kB / 273.3 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008622/0.02571, allocations: 0.6779 MB / 274 MB, free: 452 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005239/0.02623, allocations: 370.7 kB / 274.3 MB, free: 80 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.02635, allocations: 56 kB / 274.4 MB, free: 24 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.02738, allocations: 0.6635 MB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.02748, allocations: 186.8 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.02777, allocations: 378.8 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.02914, allocations: 1.475 MB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.02914, allocations: 4 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02914, allocations: 0 / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.02916, allocations: 0 / 277.1 MB, free: 13.32 MB / 266.7 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.001744/0.0309, allocations: 2.104 MB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.03094, allocations: 11.98 kB / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.03112, allocations: 239.7 kB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.03262, allocations: 1.414 MB / 280.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.03264, allocations: 33.12 kB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.03271, allocations: 47.95 kB / 280.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.0332, allocations: 388.9 kB / 281.3 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.03321, allocations: 0 / 281.3 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.03325, allocations: 20 kB / 281.3 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.03327, allocations: 19.98 kB / 281.4 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.03362, allocations: 262.5 kB / 281.6 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.03552, allocations: 1.888 MB / 283.5 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.03594, allocations: 383.7 kB / 283.9 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.03629, allocations: 352.3 kB / 284.2 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003492/0.03978, allocations: 2.614 MB / 286.8 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005604/0.04034, allocations: 227.8 kB / 287.1 MB, free: 3.109 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.074e-06/0.04034, allocations: 0 / 287.1 MB, free: 3.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001822/0.04216, allocations: 1.553 MB / 288.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.0422, allocations: 59.84 kB / 288.7 MB, free: 1.445 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.04321, allocations: 1.42 MB / 290.1 MB, free: 20 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.04325, allocations: 41.69 kB / 290.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004802/0.04373, allocations: 0.8222 MB / 290.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.04384, allocations: 206.2 kB / 291.1 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.04397, allocations: 135.9 kB / 291.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.0441, allocations: 0.5004 MB / 291.8 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.04425, allocations: 109.6 kB / 291.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.0445, allocations: 346.1 kB / 292.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005807/0.04508, allocations: 0.6283 MB / 292.9 MB, free: 13.03 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.04508, allocations: 3.938 kB / 292.9 MB, free: 13.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007782/0.04586, allocations: 0.7643 MB / 293.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.04588, allocations: 7.984 kB / 293.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.616e-05/0.04594, allocations: 59.94 kB / 293.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/0.04624, allocations: 143 kB / 293.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005239/0.04676, allocations: 111.9 kB / 293.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.04844, allocations: 2.613 MB / 296.6 MB, free: 9.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.04865, allocations: 27.98 kB / 296.6 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.04869, allocations: 32 kB / 296.6 MB, free: 9.141 MB / 282.7 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.0002337/0.04892, allocations: 200.4 kB / 296.8 MB, free: 8.934 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.04905, allocations: 202.9 kB / 297 MB, free: 8.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008531/0.0499, allocations: 0.7322 MB / 297.7 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.04991, allocations: 8 kB / 297.7 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.04991, allocations: 0 / 297.7 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.04992, allocations: 0 / 297.7 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006591/0.05057, allocations: 0.8044 MB / 298.5 MB, free: 7.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.635e-05/0.05062, allocations: 48 kB / 298.6 MB, free: 7.094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.05077, allocations: 67.89 kB / 298.7 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002491/0.05102, allocations: 127.7 kB / 298.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.05104, allocations: 19.98 kB / 298.8 MB, free: 6.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.05292, allocations: 2.605 MB / 301.4 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.05292, allocations: 0 / 301.4 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008306/0.05376, allocations: 0.8085 MB / 302.2 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.05394, allocations: 182.8 kB / 302.4 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.832e-05/0.05401, allocations: 16 kB / 302.4 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.05417, allocations: 11.94 kB / 302.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.05426, allocations: 56.34 kB / 302.5 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.05429, allocations: 24 kB / 302.5 MB, free: 3.039 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006537/0.05495, allocations: 0.8108 MB / 303.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05495, allocations: 0 / 303.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006726/0.05562, allocations: 387.2 kB / 303.7 MB, free: 1.859 MB / 282.7 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.0005887/0.05621, allocations: 0.4956 MB / 304.2 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008417/0.05705, allocations: 0.7391 MB / 304.9 MB, free: 0.582 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.05705, allocations: 3.938 kB / 304.9 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004716/0.05752, allocations: 0.5472 MB / 305.5 MB, free: 0 / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.05798, allocations: 194.4 kB / 305.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.06001, allocations: 2.239 MB / 307.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.06015, allocations: 232.5 kB / 308.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005664/0.06072, allocations: 179.2 kB / 308.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.544e-05/0.06082, allocations: 84.5 kB / 308.4 MB, free: 13 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.06082, allocations: 0 / 308.4 MB, free: 13 MB / 298.7 MB Notification: Performance of Templates: time 0.01868/0.07949, allocations: 13.88 MB / 322.3 MB, free: 15.13 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.368659589905292]