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.001161/0.001161, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001981/0.003142, allocations: 449.7 kB / 10.37 MB, free: 332 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.001152/0.001152, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001618/0.002769, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.8747/0.8747, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07745/0.9522, allocations: 52.49 MB / 238.3 MB, free: 4.449 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.323e-06/1.323e-06, allocations: 0 / 239.5 MB, free: 3.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.912e-05, allocations: 2.312 kB / 239.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007811/0.007831, allocations: 7.068 MB / 246.6 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01472/0.02255, allocations: 10.2 MB / 256.8 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.02409, allocations: 118.6 kB / 256.9 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.02611, allocations: 0.6655 MB / 257.6 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003377/0.02949, allocations: 1.227 MB / 258.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.03076, allocations: 0.5986 MB / 259.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002406/0.03316, allocations: 2.617 MB / 262 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002974/0.03346, allocations: 185.1 kB / 262.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009981/0.03446, allocations: 1.177 MB / 263.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000354/0.03481, allocations: 402.5 kB / 263.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.278e-05/0.03488, allocations: 56 kB / 263.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.03597, allocations: 0.7872 MB / 264.6 MB, free: 9.961 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.03608, allocations: 150.9 kB / 264.8 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.03633, allocations: 346.9 kB / 265.1 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.03745, allocations: 1.37 MB / 266.5 MB, free: 8.098 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.545e-05/0.03746, allocations: 0 / 266.5 MB, free: 8.098 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.03747, allocations: 0 / 266.5 MB, free: 8.098 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.418e-05/0.03749, allocations: 0 / 266.5 MB, free: 8.098 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.001709/0.0392, allocations: 2.329 MB / 268.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.03923, allocations: 8.031 kB / 268.8 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.03937, allocations: 172.7 kB / 269 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009872/0.04035, allocations: 1.076 MB / 270.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.04037, allocations: 33.38 kB / 270.1 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.04043, allocations: 52.36 kB / 270.1 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.04077, allocations: 351.7 kB / 270.5 MB, free: 3.961 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.04078, allocations: 0 / 270.5 MB, free: 3.961 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.04081, allocations: 16 kB / 270.5 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.04082, allocations: 19.98 kB / 270.5 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.04101, allocations: 160.5 kB / 270.7 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.04231, allocations: 1.258 MB / 271.9 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.04259, allocations: 353.9 kB / 272.3 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.0428, allocations: 285.5 kB / 272.6 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1112/0.154, allocations: 2.637 MB / 275.2 MB, free: 19.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.1542, allocations: 185.7 kB / 275.4 MB, free: 19.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.735e-06/0.1542, allocations: 0 / 275.4 MB, free: 19.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001453/0.1557, allocations: 1.024 MB / 276.4 MB, free: 19.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.1557, allocations: 57.8 kB / 276.5 MB, free: 19.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008749/0.1566, allocations: 1.184 MB / 277.6 MB, free: 19.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.1566, allocations: 34.36 kB / 277.7 MB, free: 19.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.1568, allocations: 427.5 kB / 278.1 MB, free: 19.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.399e-05/0.1569, allocations: 212.1 kB / 278.3 MB, free: 19.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.157, allocations: 115.7 kB / 278.4 MB, free: 19.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.198e-05/0.1571, allocations: 335.4 kB / 278.7 MB, free: 18.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.635e-05/0.1572, allocations: 65.66 kB / 278.8 MB, free: 18.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.1573, allocations: 234.5 kB / 279 MB, free: 18.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.1576, allocations: 390.3 kB / 279.4 MB, free: 18.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1576, allocations: 1.031 kB / 279.4 MB, free: 18.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005909/0.1582, allocations: 0.5349 MB / 280 MB, free: 18.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1582, allocations: 9.844 kB / 280 MB, free: 18.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.32e-05/0.1582, allocations: 13.86 kB / 280 MB, free: 18.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.1585, allocations: 126.9 kB / 280.1 MB, free: 18.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.1588, allocations: 139 kB / 280.2 MB, free: 18.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.1599, allocations: 1.83 MB / 282.1 MB, free: 17.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.1601, allocations: 27.94 kB / 282.1 MB, free: 17.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.1602, allocations: 23.16 kB / 282.1 MB, free: 17.19 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.0001466/0.1603, allocations: 147.9 kB / 282.3 MB, free: 17.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.1604, allocations: 135.3 kB / 282.4 MB, free: 17.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006479/0.1611, allocations: 0.5583 MB / 282.9 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1611, allocations: 5.969 kB / 283 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1611, allocations: 3.719 kB / 283 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1611, allocations: 3.547 kB / 283 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.1615, allocations: 491.3 kB / 283.4 MB, free: 16.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.939e-05/0.1616, allocations: 8.094 kB / 283.4 MB, free: 16.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.1617, allocations: 85.98 kB / 283.5 MB, free: 16.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.1619, allocations: 154 kB / 283.7 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/0.1621, allocations: 126.9 kB / 283.8 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1621, allocations: 7.578 kB / 283.8 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.1633, allocations: 1.833 MB / 285.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1633, allocations: 3.094 kB / 285.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006156/0.1639, allocations: 0.5614 MB / 286.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.164, allocations: 12.38 kB / 286.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.1642, allocations: 20.38 kB / 286.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/0.1643, allocations: 41.31 kB / 286.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.1643, allocations: 10.66 kB / 286.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004686/0.1648, allocations: 0.6064 MB / 286.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1648, allocations: 0 / 286.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006843/0.1655, allocations: 390.2 kB / 287.3 MB, free: 15.28 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.0005789/0.1661, allocations: 0.5197 MB / 287.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000646/0.1667, allocations: 0.5575 MB / 288.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.629e-05/0.1667, allocations: 24.5 kB / 288.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004022/0.1671, allocations: 422.8 kB / 288.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.1677, allocations: 333.3 kB / 289.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.1714, allocations: 2.072 MB / 291.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.1715, allocations: 233.7 kB / 291.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003283/0.1718, allocations: 191.3 kB / 291.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.1722, allocations: 269.5 kB / 291.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1722, allocations: 0 / 291.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of Templates: time 0.02081/0.193, allocations: 16.25 MB / 308.1 MB, free: 420 kB / 266.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.052758070640266]