Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001308/0.001308, allocations: 77.97 kB / 21.42 MB, free: 3.078 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.001597/0.001597, allocations: 166.7 kB / 24.82 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.666e-05, allocations: 4.844 kB / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.004932/0.004949, allocations: 6.994 MB / 280.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008281/0.01323, allocations: 9.975 MB / 290.4 MB, free: 252 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006843/0.01391, allocations: 126.6 kB / 290.5 MB, free: 124 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.09744/0.1114, allocations: 0.6287 MB / 291.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.1146, allocations: 1.25 MB / 292.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.1162, allocations: 0.6846 MB / 293 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002885/0.1191, allocations: 2.706 MB / 295.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.1194, allocations: 174 kB / 295.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.1206, allocations: 1.051 MB / 297 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.121, allocations: 406.5 kB / 297.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.871e-05/0.1211, allocations: 54.06 kB / 297.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.1224, allocations: 0.6941 MB / 298.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1226, allocations: 196.6 kB / 298.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.1229, allocations: 384.8 kB / 298.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.1244, allocations: 1.503 MB / 300.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1244, allocations: 0 / 300.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1244, allocations: 0 / 300.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.1244, allocations: 1.375 kB / 300.2 MB, free: 13.09 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.001889/0.1263, allocations: 2.14 MB / 302.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1264, allocations: 9.094 kB / 302.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.1266, allocations: 237.9 kB / 302.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.1278, allocations: 1.353 MB / 303.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.1279, allocations: 37.06 kB / 304 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.501e-05/0.1279, allocations: 42.12 kB / 304 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.1283, allocations: 346.1 kB / 304.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1283, allocations: 3.938 kB / 304.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.1284, allocations: 15.69 kB / 304.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.1284, allocations: 21.83 kB / 304.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.1286, allocations: 220.3 kB / 304.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.1301, allocations: 1.672 MB / 306.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.1304, allocations: 338.8 kB / 306.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.1307, allocations: 322.6 kB / 306.9 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002418/0.1331, allocations: 2.365 MB / 309.3 MB, free: 8.727 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.1333, allocations: 214 kB / 309.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of pre-optimization done (n=61): time 2.314e-06/0.1333, allocations: 0 / 309.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001764/0.135, allocations: 1.547 MB / 311 MB, free: 7.246 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.1351, allocations: 55.91 kB / 311.1 MB, free: 7.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006813/0.1357, allocations: 1.397 MB / 312.5 MB, free: 6.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1358, allocations: 41.64 kB / 312.5 MB, free: 5.961 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.1361, allocations: 0.8353 MB / 313.4 MB, free: 5.195 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.27e-05/0.1362, allocations: 224 kB / 313.6 MB, free: 4.988 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1363, allocations: 134.2 kB / 313.7 MB, free: 4.863 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.1363, allocations: 0.5147 MB / 314.2 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.1364, allocations: 89.59 kB / 314.3 MB, free: 4.273 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1366, allocations: 294 kB / 314.6 MB, free: 3.926 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.1368, allocations: 461.9 kB / 315.1 MB, free: 3.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1368, allocations: 8 kB / 315.1 MB, free: 3.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005795/0.1374, allocations: 0.7229 MB / 315.8 MB, free: 2.723 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1374, allocations: 11.31 kB / 315.8 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.553e-05/0.1375, allocations: 68 kB / 315.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002588/0.1377, allocations: 156.5 kB / 316 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.1379, allocations: 105.2 kB / 316.1 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.1393, allocations: 2.685 MB / 318.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.1395, allocations: 16.88 kB / 318.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.1395, allocations: 29.72 kB / 318.8 MB, free: 15.61 MB / 282.7 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.0002059/0.1398, allocations: 195.2 kB / 319 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.1399, allocations: 210.8 kB / 319.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008457/0.1407, allocations: 0.7398 MB / 320 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1407, allocations: 4 kB / 320 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1408, allocations: 11.94 kB / 320 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1408, allocations: 3.984 kB / 320 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.1414, allocations: 0.6117 MB / 320.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.556e-05/0.1414, allocations: 60 kB / 320.7 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.1416, allocations: 63.7 kB / 320.7 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002676/0.1418, allocations: 158.5 kB / 320.9 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.1419, allocations: 23.98 kB / 320.9 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.1435, allocations: 2.68 MB / 323.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1435, allocations: 0 / 323.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007943/0.1443, allocations: 0.8125 MB / 324.4 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.1445, allocations: 194.7 kB / 324.6 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-05/0.1446, allocations: 8 kB / 324.6 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.1448, allocations: 19.98 kB / 324.6 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.1449, allocations: 55.59 kB / 324.7 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.145, allocations: 20 kB / 324.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005112/0.1455, allocations: 0.7574 MB / 325.5 MB, free: 9.102 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1455, allocations: 0 / 325.5 MB, free: 9.102 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007493/0.1462, allocations: 391.2 kB / 325.8 MB, free: 8.719 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 (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.0008192/0.147, allocations: 0.5256 MB / 326.4 MB, free: 8.242 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007272/0.1478, allocations: 0.7456 MB / 327.1 MB, free: 7.484 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1478, allocations: 3.938 kB / 327.1 MB, free: 7.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004571/0.1482, allocations: 0.5827 MB / 327.7 MB, free: 6.887 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005683/0.1488, allocations: 230.5 kB / 327.9 MB, free: 6.664 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.151, allocations: 2.232 MB / 330.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.1511, allocations: 241.2 kB / 330.4 MB, free: 4.141 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003102/0.1514, allocations: 183.2 kB / 330.6 MB, free: 3.957 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.1518, allocations: 314.1 kB / 330.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1518, allocations: 0 / 330.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of Templates: time 0.022/0.1738, allocations: 16.63 MB / 347.5 MB, free: 3.219 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.104901178739965]