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.001609/0.001609, allocations: 113 kB / 18.45 MB, free: 4.602 MB / 14.72 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.001257/0.001257, allocations: 190.9 kB / 21.4 MB, free: 1.664 MB / 14.72 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 1.416/1.416, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001495/0.001495, allocations: 55.91 kB / 366.8 MB, free: 396 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09552/0.09702, allocations: 52.14 MB / 418.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008421/0.1054, allocations: 7.518 MB / 426.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.1194, allocations: 10.75 MB / 437.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.1207, allocations: 79.31 kB / 437.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.1228, allocations: 0.7101 MB / 438 MB, free: 9.004 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004094/0.1269, allocations: 1.2 MB / 439.2 MB, free: 7.797 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.129, allocations: 0.6739 MB / 439.9 MB, free: 7.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004478/0.1335, allocations: 2.537 MB / 442.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000404/0.1339, allocations: 187.9 kB / 442.6 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007248/0.1346, allocations: 0.4898 MB / 443.1 MB, free: 3.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006919/0.1353, allocations: 0.5434 MB / 443.6 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.1354, allocations: 56 kB / 443.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.1373, allocations: 0.7688 MB / 444.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.1375, allocations: 178.8 kB / 444.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006881/0.1382, allocations: 0.6754 MB / 445.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2092/0.3474, allocations: 1.953 MB / 447.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.3474, allocations: 0.75 kB / 447.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3474, allocations: 0 / 447.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.11e-05/0.3475, allocations: 1.25 kB / 447.3 MB, free: 14.39 MB / 366.1 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.002762/0.3503, allocations: 2.041 MB / 449.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3503, allocations: 8.906 kB / 449.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.3505, allocations: 208.3 kB / 449.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.3524, allocations: 1.355 MB / 450.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.3524, allocations: 35.75 kB / 450.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.96e-05/0.3525, allocations: 53.02 kB / 450.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009643/0.3534, allocations: 0.5099 MB / 451.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3534, allocations: 1.156 kB / 451.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.82e-05/0.3535, allocations: 16.78 kB / 451.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.3535, allocations: 16.59 kB / 451.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008699/0.3544, allocations: 480.6 kB / 452 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/0.3575, allocations: 2.089 MB / 454 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009259/0.3584, allocations: 0.6492 MB / 454.7 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007079/0.3591, allocations: 472 kB / 455.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007454/0.3666, allocations: 6.521 MB / 461.7 MB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007042/0.3673, allocations: 295.5 kB / 462 MB, free: 6.449 MB / 366.1 MB Notification: Performance of pre-optimization done (n=55): time 4.278e-06/0.3673, allocations: 0 / 462 MB, free: 6.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.004151/0.3714, allocations: 1.977 MB / 463.9 MB, free: 5.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.3715, allocations: 62.12 kB / 464 MB, free: 5.762 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.3732, allocations: 1.298 MB / 465.3 MB, free: 5.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/0.3733, allocations: 37.83 kB / 465.3 MB, free: 5.434 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005046/0.3738, allocations: 0.7176 MB / 466.1 MB, free: 4.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.3739, allocations: 220.1 kB / 466.3 MB, free: 4.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.3741, allocations: 119.7 kB / 466.4 MB, free: 4.629 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.3742, allocations: 333.1 kB / 466.7 MB, free: 4.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/0.3746, allocations: 198.5 kB / 466.9 MB, free: 4.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/0.3752, allocations: 361.9 kB / 467.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000911/0.3761, allocations: 0.6005 MB / 467.9 MB, free: 3.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3761, allocations: 0 / 467.9 MB, free: 3.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001714/0.3778, allocations: 0.9146 MB / 468.8 MB, free: 3.219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.3778, allocations: 7.469 kB / 468.8 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.83e-05/0.3779, allocations: 65.75 kB / 468.9 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004476/0.3783, allocations: 164.4 kB / 469 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.3788, allocations: 114 kB / 469.1 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/0.3814, allocations: 2.515 MB / 471.6 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/0.382, allocations: 32.91 kB / 471.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.991e-05/0.3821, allocations: 32.12 kB / 471.7 MB, free: 1.133 MB / 366.1 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.0004937/0.3826, allocations: 273.8 kB / 472 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.3828, allocations: 193.8 kB / 472.2 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.3846, allocations: 0.8806 MB / 473 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.3846, allocations: 6.297 kB / 473 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3846, allocations: 3.219 kB / 473 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3846, allocations: 1.922 kB / 473 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.3858, allocations: 0.8605 MB / 473.9 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-05/0.3859, allocations: 55.19 kB / 474 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.3862, allocations: 61.67 kB / 474 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005215/0.3868, allocations: 157.5 kB / 474.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/0.3868, allocations: 18.31 kB / 474.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/0.3899, allocations: 2.505 MB / 476.7 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3899, allocations: 0 / 476.7 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.3922, allocations: 1.07 MB / 477.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/0.3927, allocations: 256.9 kB / 478 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.3928, allocations: 11.88 kB / 478 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.3932, allocations: 19.77 kB / 478.1 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.3933, allocations: 51.02 kB / 478.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.092e-05/0.3934, allocations: 24.84 kB / 478.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001271/0.3947, allocations: 0.8586 MB / 479 MB, free: 12.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3947, allocations: 0 / 479 MB, free: 12.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001193/0.3959, allocations: 379.3 kB / 479.4 MB, free: 12.86 MB / 382.1 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.0008274/0.3967, allocations: 471.2 kB / 479.8 MB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.3985, allocations: 0.8016 MB / 480.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3985, allocations: 1.375 kB / 480.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.3995, allocations: 0.5522 MB / 481.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.4006, allocations: 208.9 kB / 481.4 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/0.4048, allocations: 2.479 MB / 483.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007294/0.4055, allocations: 1.171 MB / 485 MB, free: 9.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.4057, allocations: 87.44 kB / 485.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4057, allocations: 0 / 485.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of Templates: time 0.03601/0.4417, allocations: 24.18 MB / 0.4974 GB, free: 5.332 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.798351250821725]