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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001519/0.002564, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009706/0.0009706, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002315, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8563/0.8563, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07137/0.9276, allocations: 52.49 MB / 238.4 MB, free: 4.367 MB / 234.7 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 239.7 MB, free: 3.094 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.659e-06/1.087e-05, allocations: 3.438 kB / 239.7 MB, free: 3.09 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.004584/0.004595, allocations: 7.068 MB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007265/0.01186, allocations: 10.2 MB / 257 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004284/0.01229, allocations: 118.6 kB / 257.1 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008583/0.01315, allocations: 0.6656 MB / 257.8 MB, free: 0.957 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.01455, allocations: 1.227 MB / 259 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007176/0.01527, allocations: 0.5986 MB / 259.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.01713, allocations: 2.605 MB / 262.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.01735, allocations: 193.1 kB / 262.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008313/0.01818, allocations: 1.177 MB / 263.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.01855, allocations: 402.6 kB / 264 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.652e-05/0.01862, allocations: 56 kB / 264 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008669/0.01948, allocations: 0.7833 MB / 264.8 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.933e-05/0.01957, allocations: 150.9 kB / 264.9 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.0198, allocations: 346.9 kB / 265.3 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.02083, allocations: 1.37 MB / 266.7 MB, free: 7.988 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.02084, allocations: 0 / 266.7 MB, free: 7.988 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.02084, allocations: 0 / 266.7 MB, free: 7.988 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.02086, allocations: 0 / 266.7 MB, free: 7.988 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.001619/0.02248, allocations: 2.337 MB / 269 MB, free: 5.598 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.0225, allocations: 8.031 kB / 269 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.02264, allocations: 164.8 kB / 269.2 MB, free: 5.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.02367, allocations: 1.08 MB / 270.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.0237, allocations: 33.38 kB / 270.3 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.02375, allocations: 44.38 kB / 270.3 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.02411, allocations: 351.7 kB / 270.7 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.02412, allocations: 4 kB / 270.7 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.02415, allocations: 16 kB / 270.7 MB, free: 3.836 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.02416, allocations: 16 kB / 270.7 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.02436, allocations: 164.5 kB / 270.9 MB, free: 3.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.02566, allocations: 1.258 MB / 272.1 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.02595, allocations: 346.7 kB / 272.4 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.02616, allocations: 285.5 kB / 272.7 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09453/0.1207, allocations: 2.649 MB / 275.4 MB, free: 19.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.1209, allocations: 191.7 kB / 275.6 MB, free: 19.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.535e-06/0.1209, allocations: 0 / 275.6 MB, free: 19.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001473/0.1224, allocations: 1.03 MB / 276.6 MB, free: 19.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.1224, allocations: 61.27 kB / 276.7 MB, free: 19.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008982/0.1233, allocations: 1.182 MB / 277.8 MB, free: 19.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.1234, allocations: 33.55 kB / 277.9 MB, free: 19.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.1236, allocations: 428.4 kB / 278.3 MB, free: 19.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.1237, allocations: 212.7 kB / 278.5 MB, free: 19.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.1238, allocations: 107.1 kB / 278.6 MB, free: 19.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.427e-05/0.1239, allocations: 339.9 kB / 278.9 MB, free: 18.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.195e-05/0.124, allocations: 64.91 kB / 279 MB, free: 18.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.1241, allocations: 244.5 kB / 279.2 MB, free: 18.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.1244, allocations: 401.9 kB / 279.6 MB, free: 18.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1244, allocations: 4.375 kB / 279.6 MB, free: 18.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005967/0.125, allocations: 0.5383 MB / 280.2 MB, free: 18.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.125, allocations: 7.562 kB / 280.2 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.092e-05/0.1251, allocations: 12.72 kB / 280.2 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.1253, allocations: 124.8 kB / 280.3 MB, free: 18.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.1256, allocations: 141.5 kB / 280.4 MB, free: 18.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.1268, allocations: 1.833 MB / 282.3 MB, free: 17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.127, allocations: 20.55 kB / 282.3 MB, free: 17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.127, allocations: 24.5 kB / 282.3 MB, free: 17 MB / 266.7 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.0001415/0.1272, allocations: 144.4 kB / 282.5 MB, free: 16.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.1273, allocations: 144 kB / 282.6 MB, free: 16.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000653/0.128, allocations: 0.5549 MB / 283.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.128, allocations: 6.438 kB / 283.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.128, allocations: 3.125 kB / 283.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.128, allocations: 2.766 kB / 283.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.1284, allocations: 492.9 kB / 283.7 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/0.1285, allocations: 4.844 kB / 283.7 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.1286, allocations: 88.02 kB / 283.7 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.1288, allocations: 153.1 kB / 283.9 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002163/0.129, allocations: 124 kB / 284 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.129, allocations: 12.23 kB / 284 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.13, allocations: 1.837 MB / 285.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1301, allocations: 0.875 kB / 285.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.1306, allocations: 0.5705 MB / 286.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.1306, allocations: 12.42 kB / 286.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1308, allocations: 14.28 kB / 286.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.1309, allocations: 37.06 kB / 286.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.1309, allocations: 12.02 kB / 286.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004369/0.1313, allocations: 0.6074 MB / 287.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1313, allocations: 2.516 kB / 287.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005607/0.1319, allocations: 388.3 kB / 287.5 MB, free: 15.09 MB / 266.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.0005314/0.1324, allocations: 0.5271 MB / 288 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005789/0.133, allocations: 0.5691 MB / 288.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.596e-05/0.133, allocations: 21.03 kB / 288.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.1334, allocations: 442.3 kB / 289 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000736/0.1341, allocations: 1.695 MB / 290.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.137, allocations: 2.081 MB / 292.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.1371, allocations: 237.2 kB / 293.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002691/0.1374, allocations: 188.1 kB / 293.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.1377, allocations: 266.5 kB / 293.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of SimCode: time 1.113e-06/0.1377, allocations: 0 / 293.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of Templates: time 0.01643/0.1541, allocations: 16.15 MB / 309.7 MB, free: 14.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.701252200640738]