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.001021/0.001021, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001466/0.002488, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001003/0.001003, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002401, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9582/0.9582, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1216/1.08, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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 8.52e-07/8.52e-07, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.913e-06/7.765e-06, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.004887/0.004895, allocations: 7.082 MB / 251.8 MB, free: 7.121 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008155/0.01305, allocations: 10.23 MB / 262 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.01351, allocations: 122.6 kB / 262.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009335/0.01444, allocations: 0.6733 MB / 262.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.01601, allocations: 1.231 MB / 264 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007922/0.01681, allocations: 0.587 MB / 264.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002152/0.01896, allocations: 2.648 MB / 267.3 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.01924, allocations: 193 kB / 267.5 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.02039, allocations: 1.193 MB / 268.6 MB, free: 6.133 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.02085, allocations: 410.5 kB / 269 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.663e-05/0.02093, allocations: 52 kB / 269.1 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.02197, allocations: 0.7912 MB / 269.9 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.02208, allocations: 154.9 kB / 270 MB, free: 4.734 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.02235, allocations: 346.9 kB / 270.4 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.02356, allocations: 1.37 MB / 271.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.02357, allocations: 0 / 271.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02357, allocations: 0 / 271.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.501e-05/0.0236, allocations: 0 / 271.7 MB, free: 3.02 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.002055/0.02566, allocations: 2.333 MB / 274.1 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.02569, allocations: 8.031 kB / 274.1 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.02589, allocations: 168.8 kB / 274.3 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1064/0.1323, allocations: 1.073 MB / 275.3 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.1323, allocations: 33.97 kB / 275.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.052e-05/0.1324, allocations: 51.86 kB / 275.4 MB, free: 16.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.1328, allocations: 344.5 kB / 275.7 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1329, allocations: 1.219 kB / 275.7 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.1329, allocations: 18.45 kB / 275.8 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.1329, allocations: 17.55 kB / 275.8 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.1331, allocations: 165.4 kB / 275.9 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.1346, allocations: 1.253 MB / 277.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.1349, allocations: 349.8 kB / 277.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.1352, allocations: 284.1 kB / 277.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00358/0.1388, allocations: 2.649 MB / 280.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.139, allocations: 196.4 kB / 280.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.084e-06/0.139, allocations: 0 / 280.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001373/0.1404, allocations: 1.047 MB / 281.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.1404, allocations: 59.19 kB / 281.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007851/0.1412, allocations: 1.174 MB / 282.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.1412, allocations: 38.23 kB / 283 MB, free: 14.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.1414, allocations: 429.5 kB / 283.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/0.1415, allocations: 208 kB / 283.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.943e-05/0.1416, allocations: 116.4 kB / 283.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.242e-05/0.1416, allocations: 334.8 kB / 284 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.857e-05/0.1417, allocations: 65.89 kB / 284.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.1418, allocations: 240 kB / 284.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.1421, allocations: 412.6 kB / 284.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1421, allocations: 2.359 kB / 284.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005781/0.1427, allocations: 0.5269 MB / 285.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1427, allocations: 9.828 kB / 285.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.811e-05/0.1428, allocations: 10.22 kB / 285.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/0.143, allocations: 138.7 kB / 285.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.1433, allocations: 139 kB / 285.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.1443, allocations: 1.825 MB / 287.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.1445, allocations: 27.98 kB / 287.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.1446, allocations: 19.84 kB / 287.4 MB, free: 12.27 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.0001354/0.1447, allocations: 153.1 kB / 287.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/0.1448, allocations: 137 kB / 287.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005578/0.1453, allocations: 0.5629 MB / 288.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1453, allocations: 6.406 kB / 288.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1454, allocations: 5.625 kB / 288.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1454, allocations: 3.891 kB / 288.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.1457, allocations: 490.1 kB / 288.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/0.1457, allocations: 14.48 kB / 288.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.1459, allocations: 80.12 kB / 288.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.146, allocations: 152.4 kB / 289 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001862/0.1462, allocations: 119.5 kB / 289.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.1462, allocations: 9.75 kB / 289.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008684/0.1471, allocations: 1.832 MB / 291 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1471, allocations: 1.641 kB / 291 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.1476, allocations: 0.5722 MB / 291.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.94e-05/0.1477, allocations: 8.109 kB / 291.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.1478, allocations: 14.83 kB / 291.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.1479, allocations: 43.05 kB / 291.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.1479, allocations: 12.73 kB / 291.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003345/0.1482, allocations: 0.6044 MB / 292.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1482, allocations: 1.156 kB / 292.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005535/0.1488, allocations: 391.4 kB / 292.6 MB, free: 10.31 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.0004784/0.1493, allocations: 0.5213 MB / 293.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004961/0.1498, allocations: 0.5624 MB / 293.7 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.069e-05/0.1498, allocations: 23.34 kB / 293.7 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.1501, allocations: 445.5 kB / 294.1 MB, free: 9.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/0.1508, allocations: 1.694 MB / 295.8 MB, free: 7.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.1537, allocations: 2.084 MB / 297.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.1538, allocations: 235.2 kB / 298.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000261/0.154, allocations: 185.1 kB / 298.3 MB, free: 5.664 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.1543, allocations: 270.3 kB / 298.6 MB, free: 5.414 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1543, allocations: 0 / 298.6 MB, free: 5.414 MB / 266.7 MB Notification: Performance of Templates: time 0.01923/0.1735, allocations: 16.21 MB / 314.8 MB, free: 5.656 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0160680431872606]