Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.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.0008796/0.0008796, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.001935, 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.0006948/0.0006948, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009435/0.001638, 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 1.083/1.083, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1052/1.189, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2979/0.2979, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02699/0.3249, allocations: 12.52 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 290.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.196e-05, allocations: 2.969 kB / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002422/0.002444, allocations: 1.8 MB / 292.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000139/0.002583, allocations: 79.25 kB / 292.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.002636, allocations: 2.375 kB / 292.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.213e-05/0.002678, allocations: 14.23 kB / 292.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.407e-05/0.002722, allocations: 30.03 kB / 292.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.73e-05/0.002779, allocations: 27.2 kB / 292.5 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.002881, allocations: 105.4 kB / 292.6 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.002993, allocations: 35.91 kB / 292.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.241e-05/0.003065, allocations: 66.19 kB / 292.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.003144, allocations: 36.48 kB / 292.8 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.003168, allocations: 11.59 kB / 292.8 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.003181, allocations: 9.969 kB / 292.8 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.003202, allocations: 18.31 kB / 292.8 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.003236, allocations: 35.28 kB / 292.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.003344, allocations: 64.23 kB / 292.9 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.465e-05/0.003358, allocations: 0 / 292.9 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003359, allocations: 0 / 292.9 MB, free: 5.898 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.003373, allocations: 0 / 292.9 MB, free: 5.898 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003699/0.003743, allocations: 329.2 kB / 293.2 MB, free: 5.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.003772, allocations: 8.844 kB / 293.2 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.003802, allocations: 13.67 kB / 293.2 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.456e-05/0.003886, allocations: 118.3 kB / 293.4 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.003901, allocations: 6.641 kB / 293.4 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.003913, allocations: 19.84 kB / 293.4 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.004028, allocations: 112.8 kB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.004035, allocations: 192 / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.004044, allocations: 4.375 kB / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.004049, allocations: 4.375 kB / 293.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.845e-05/0.004087, allocations: 31.86 kB / 293.5 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.004505, allocations: 0.5672 MB / 294.1 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.009e-05/0.004566, allocations: 165.1 kB / 294.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.004586, allocations: 88.17 kB / 294.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.004602, allocations: 79.28 kB / 294.4 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.004633, allocations: 109.8 kB / 294.5 MB, free: 4.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.004634, allocations: 0 / 294.5 MB, free: 4.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 4.803e-05/0.004682, allocations: 37.62 kB / 294.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.004725, allocations: 130.7 kB / 294.7 MB, free: 4.066 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.008e-05/0.004795, allocations: 126.6 kB / 294.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.004802, allocations: 25.7 kB / 294.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.004848, allocations: 128 kB / 295 MB, free: 3.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-06/0.004854, allocations: 0 / 295 MB, free: 3.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.004879, allocations: 29.67 kB / 295 MB, free: 3.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.004945, allocations: 314.8 kB / 295.3 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-06/0.004952, allocations: 4 kB / 295.3 MB, free: 3.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.004977, allocations: 41.08 kB / 295.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.207e-05/0.005019, allocations: 49.08 kB / 295.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005022, allocations: 0 / 295.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.481e-05/0.005096, allocations: 73.48 kB / 295.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.005108, allocations: 4 kB / 295.5 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.005113, allocations: 4 kB / 295.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.005122, allocations: 0 / 295.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.664e-05/0.005169, allocations: 15.98 kB / 295.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.005175, allocations: 7.922 kB / 295.5 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.005197, allocations: 7.938 kB / 295.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-06/0.0052, allocations: 0 / 295.5 MB, free: 3.172 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.162e-05/0.005262, allocations: 193.3 kB / 295.7 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.005297, allocations: 108.9 kB / 295.8 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.005331, allocations: 108.4 kB / 295.9 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-05/0.005367, allocations: 184.2 kB / 296.1 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-05/0.005409, allocations: 188.4 kB / 296.3 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.952e-05/0.005449, allocations: 184.3 kB / 296.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.005573, allocations: 329.4 kB / 296.8 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.319e-05/0.005596, allocations: 104.9 kB / 296.9 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.005616, allocations: 105 kB / 297 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.005646, allocations: 116.8 kB / 297.1 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-05/0.005682, allocations: 188.2 kB / 297.3 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.005717, allocations: 180.3 kB / 297.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.459e-05/0.005752, allocations: 180.2 kB / 297.6 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.474e-05/0.005787, allocations: 184.3 kB / 297.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.067e-05/0.005867, allocations: 303.8 kB / 298.1 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.005909, allocations: 180.3 kB / 298.3 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.499e-05/0.005954, allocations: 112.8 kB / 298.4 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.006005, allocations: 176.3 kB / 298.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.006025, allocations: 104.9 kB / 298.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.595e-05/0.006041, allocations: 16.86 kB / 298.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006041, allocations: 4 kB / 298.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001212/0.006162, allocations: 23.92 kB / 298.7 MB, free: 15.79 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.667e-05/0.006249, allocations: 148.7 kB / 298.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.503e-05/0.006314, allocations: 24.78 kB / 298.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.006318, allocations: 0 / 298.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.006319, allocations: 0 / 298.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.006519, allocations: 463.7 kB / 299.3 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.006988, allocations: 247.9 kB / 299.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.261e-05/0.007021, allocations: 67.34 kB / 299.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.862e-05/0.007039, allocations: 3.984 kB / 299.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.007069, allocations: 51.38 kB / 299.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.00707, allocations: 0 / 299.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of Templates: time 0.001648/0.008718, allocations: 313.7 kB / 300 MB, free: 14.44 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.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.026574967429042]