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.001174/0.001174, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001747/0.00292, allocations: 449.7 kB / 10.37 MB, free: 328 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.001096/0.001096, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.00244, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9027/0.9027, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08872/0.9914, allocations: 53.65 MB / 243.3 MB, free: 15.58 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 1.382e-06/1.382e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.009e-05, allocations: 6.25 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.005161/0.005181, allocations: 7.071 MB / 251.6 MB, free: 7.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008984/0.01417, allocations: 10.23 MB / 261.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.01517, allocations: 126.6 kB / 261.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.01639, allocations: 0.6733 MB / 262.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.01937, allocations: 1.219 MB / 263.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.02059, allocations: 0.5909 MB / 264.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003388/0.02398, allocations: 2.652 MB / 267.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003739/0.02435, allocations: 189 kB / 267.3 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.02544, allocations: 1.193 MB / 268.4 MB, free: 6.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.02583, allocations: 406.6 kB / 268.8 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-05/0.0259, allocations: 60 kB / 268.9 MB, free: 5.781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.02709, allocations: 0.7834 MB / 269.7 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.0272, allocations: 150.9 kB / 269.8 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.02776, allocations: 346.9 kB / 270.2 MB, free: 4.508 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.02896, allocations: 1.381 MB / 271.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.02898, allocations: 0 / 271.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.02898, allocations: 0 / 271.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.029, allocations: 4 kB / 271.6 MB, free: 3.117 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.001736/0.03074, allocations: 2.329 MB / 273.9 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.03077, allocations: 12.03 kB / 273.9 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.0309, allocations: 160.8 kB / 274.1 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1095/0.1404, allocations: 1.079 MB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.483e-05/0.1404, allocations: 33.84 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.758e-05/0.1405, allocations: 43.95 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.1409, allocations: 348.6 kB / 275.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.141, allocations: 0 / 275.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.141, allocations: 16.45 kB / 275.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.141, allocations: 21.31 kB / 275.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.1412, allocations: 168.6 kB / 275.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.1429, allocations: 1.247 MB / 277 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.1432, allocations: 352 kB / 277.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.1435, allocations: 284.7 kB / 277.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003856/0.1474, allocations: 2.65 MB / 280.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.1476, allocations: 195.7 kB / 280.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 3.416e-06/0.1476, allocations: 3.172 kB / 280.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001548/0.1492, allocations: 1.033 MB / 281.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1492, allocations: 60.08 kB / 281.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008968/0.1501, allocations: 1.181 MB / 282.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.1501, allocations: 37.25 kB / 282.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.1504, allocations: 429.3 kB / 283.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.122e-05/0.1504, allocations: 212.8 kB / 283.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.1506, allocations: 108.6 kB / 283.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.1506, allocations: 337.3 kB / 283.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.718e-05/0.1507, allocations: 65.06 kB / 283.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.1508, allocations: 243.3 kB / 284.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.1512, allocations: 384.3 kB / 284.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1512, allocations: 1.375 kB / 284.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006766/0.1518, allocations: 0.5354 MB / 285.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1519, allocations: 8.562 kB / 285.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.253e-05/0.1519, allocations: 14.31 kB / 285.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002497/0.1521, allocations: 127.1 kB / 285.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.1525, allocations: 137.7 kB / 285.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.1536, allocations: 1.833 MB / 287.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.1539, allocations: 21.25 kB / 287.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.1539, allocations: 22.5 kB / 287.2 MB, free: 11.77 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.0001639/0.1541, allocations: 152.6 kB / 287.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.523e-05/0.1542, allocations: 141.4 kB / 287.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006223/0.1548, allocations: 0.5574 MB / 288.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1548, allocations: 5.375 kB / 288.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1548, allocations: 4.688 kB / 288.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1548, allocations: 7.938 kB / 288.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.1552, allocations: 494.2 kB / 288.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-05/0.1552, allocations: 5.406 kB / 288.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.1554, allocations: 82.5 kB / 288.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.1555, allocations: 157 kB / 288.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002016/0.1557, allocations: 115.3 kB / 288.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.1558, allocations: 20.53 kB / 288.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009372/0.1567, allocations: 1.828 MB / 290.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1567, allocations: 0 / 290.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.1572, allocations: 0.5629 MB / 291.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.382e-05/0.1573, allocations: 9.031 kB / 291.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.1575, allocations: 16.52 kB / 291.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.1575, allocations: 36.59 kB / 291.4 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.1576, allocations: 11.75 kB / 291.4 MB, free: 9.902 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000336/0.1579, allocations: 0.6136 MB / 292 MB, free: 9.855 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1579, allocations: 4 kB / 292 MB, free: 9.852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006566/0.1585, allocations: 383.6 kB / 292.4 MB, free: 9.852 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.0005438/0.1591, allocations: 0.5178 MB / 292.9 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005619/0.1596, allocations: 0.5702 MB / 293.5 MB, free: 9.504 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.263e-05/0.1597, allocations: 23.05 kB / 293.5 MB, free: 9.504 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.16, allocations: 422.6 kB / 293.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.1605, allocations: 310.8 kB / 294.2 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.1635, allocations: 2.081 MB / 296.3 MB, free: 7.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.1636, allocations: 238.4 kB / 296.5 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002703/0.1639, allocations: 185.3 kB / 296.7 MB, free: 7.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.1641, allocations: 276 kB / 297 MB, free: 6.977 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1641, allocations: 0 / 297 MB, free: 6.977 MB / 266.7 MB Notification: Performance of Templates: time 0.0205/0.1846, allocations: 16.3 MB / 313.3 MB, free: 7.191 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8812154680490494]