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.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.001135/0.001135, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002507, allocations: 445.8 kB / 10.44 MB, free: 256 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.0009355/0.0009355, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.002035, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.9174/0.9174, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1781/1.096, allocations: 52.49 MB / 238.5 MB, free: 7.602 MB / 234.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.1721/0.1721, allocations: 32.79 MB / 272 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02028/0.1924, allocations: 12.54 MB / 284.5 MB, free: 9.688 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.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(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.473e-06/1.473e-06, allocations: 0 / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.867e-05, allocations: 13.34 kB / 285.8 MB, free: 8.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002685/0.002704, allocations: 1.775 MB / 287.6 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001603/0.002864, allocations: 91.59 kB / 287.7 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.002911, allocations: 4 kB / 287.7 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.863e-05/0.00296, allocations: 15.8 kB / 287.7 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.726e-05/0.003017, allocations: 23.78 kB / 287.7 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.258e-05/0.00308, allocations: 27.95 kB / 287.8 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.003206, allocations: 99.53 kB / 287.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.003328, allocations: 39.97 kB / 287.9 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.682e-05/0.003415, allocations: 63.88 kB / 288 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.935e-05/0.003504, allocations: 39.89 kB / 288 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.00353, allocations: 12 kB / 288 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.79e-05/0.003548, allocations: 12 kB / 288 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.003574, allocations: 19.94 kB / 288 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.003613, allocations: 27.94 kB / 288.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.003736, allocations: 67.77 kB / 288.1 MB, free: 6.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.003746, allocations: 0 / 288.1 MB, free: 6.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003747, allocations: 0 / 288.1 MB, free: 6.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.003756, allocations: 0 / 288.1 MB, free: 6.09 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.0003827/0.004139, allocations: 320.5 kB / 288.5 MB, free: 5.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.004168, allocations: 12.03 kB / 288.5 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.004205, allocations: 20.92 kB / 288.5 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.454e-05/0.004289, allocations: 113.7 kB / 288.6 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.004303, allocations: 8.609 kB / 288.6 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.00432, allocations: 12.38 kB / 288.6 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.004462, allocations: 115.3 kB / 288.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.00447, allocations: 192 / 288.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.004483, allocations: 8.375 kB / 288.7 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.004489, allocations: 384 / 288.7 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.299e-05/0.004542, allocations: 31.92 kB / 288.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.005086, allocations: 0.5711 MB / 289.3 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.58e-05/0.005152, allocations: 165.1 kB / 289.5 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.00518, allocations: 84.08 kB / 289.6 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.005202, allocations: 79.28 kB / 289.7 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.005241, allocations: 109.8 kB / 289.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.005242, allocations: 3.938 kB / 289.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 6.053e-05/0.005303, allocations: 33.69 kB / 289.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.005345, allocations: 126.7 kB / 289.9 MB, free: 4.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.481e-05/0.005429, allocations: 122.6 kB / 290 MB, free: 4.027 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.005438, allocations: 29.7 kB / 290.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.005499, allocations: 131.9 kB / 290.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-06/0.005503, allocations: 7.938 kB / 290.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.005535, allocations: 17.72 kB / 290.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.005621, allocations: 314.8 kB / 290.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.005631, allocations: 4 kB / 290.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.51e-05/0.005666, allocations: 45.14 kB / 290.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.688e-05/0.005723, allocations: 61.06 kB / 290.6 MB, free: 3.367 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005725, allocations: 0 / 290.6 MB, free: 3.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.711e-05/0.005822, allocations: 65.5 kB / 290.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.005834, allocations: 4 kB / 290.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.00584, allocations: 4 kB / 290.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.005853, allocations: 3.984 kB / 290.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.005912, allocations: 19.92 kB / 290.7 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.005915, allocations: 4.188 kB / 290.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.005956, allocations: 11.89 kB / 290.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.005959, allocations: 0 / 290.8 MB, free: 3.25 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 7.636e-05/0.006035, allocations: 185.1 kB / 290.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.006088, allocations: 116.9 kB / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.00613, allocations: 108.4 kB / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.752e-05/0.006177, allocations: 180.3 kB / 291.3 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-05/0.006227, allocations: 180.2 kB / 291.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.832e-05/0.006275, allocations: 176.3 kB / 291.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.00645, allocations: 333.4 kB / 292 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-05/0.006481, allocations: 113 kB / 292.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.006514, allocations: 112.9 kB / 292.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.006553, allocations: 105 kB / 292.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.972e-05/0.006602, allocations: 180.2 kB / 292.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.006653, allocations: 184.2 kB / 292.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.956e-05/0.006703, allocations: 180.2 kB / 292.9 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.377e-05/0.006756, allocations: 184.2 kB / 293 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.006863, allocations: 299.8 kB / 293.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/0.006928, allocations: 188.1 kB / 293.5 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.007003, allocations: 108.9 kB / 293.6 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.007055, allocations: 180.5 kB / 293.8 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/0.007099, allocations: 109 kB / 293.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.313e-05/0.007122, allocations: 16.84 kB / 293.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.007122, allocations: 4 kB / 293.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.00734, allocations: 19.89 kB / 293.9 MB, free: 15.88 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.645e-05/0.007426, allocations: 147.7 kB / 294.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.274e-05/0.007489, allocations: 32.77 kB / 294.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.007494, allocations: 0 / 294.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.007496, allocations: 0.5625 kB / 294.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.00777, allocations: 471.7 kB / 294.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004724/0.008243, allocations: 255.8 kB / 294.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.009e-05/0.008273, allocations: 63.34 kB / 294.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.56e-05/0.008289, allocations: 0 / 294.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.008315, allocations: 51.38 kB / 294.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.008315, allocations: 0 / 294.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of Templates: time 0.00137/0.009686, allocations: 288.1 kB / 295.2 MB, free: 14.54 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6225609742105007]