Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.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.001624/0.001624, allocations: 116.5 kB / 18.45 MB, free: 4.562 MB / 14.72 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.001773/0.001773, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 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.497/1.497, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2328/0.2328, allocations: 46.92 MB / 357.8 MB, free: 10.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.91 kB / 0.492 GB, free: 7.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1296, allocations: 65.99 MB / 0.5565 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001691/0.1313, allocations: 0.4904 MB / 0.557 GB, free: 4.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.1337, allocations: 1.571 MB / 0.5585 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.1337, allocations: 0 / 0.5585 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.1337, allocations: 0 / 0.5585 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.252e-06/0.1337, allocations: 4 kB / 0.5585 GB, free: 3.227 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009373/0.1346, allocations: 223.4 kB / 0.5587 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.556e-05/0.1347, allocations: 0 / 0.5587 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.1347, allocations: 7.984 kB / 0.5587 GB, free: 3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.035e-05/0.1348, allocations: 0 / 0.5587 GB, free: 3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.63e-05/0.1348, allocations: 0 / 0.5587 GB, free: 3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.531e-06/0.1348, allocations: 0 / 0.5587 GB, free: 3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.1358, allocations: 0.7453 MB / 0.5595 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.1358, allocations: 4 kB / 0.5595 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.1358, allocations: 4 kB / 0.5595 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007686/0.1366, allocations: 0.6395 MB / 0.5601 GB, free: 1.605 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1366, allocations: 0 / 0.5601 GB, free: 1.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1366, allocations: 3.938 kB / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1366, allocations: 0 / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005406/0.1371, allocations: 371.5 kB / 0.5604 GB, free: 1.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1372, allocations: 8.031 kB / 0.5605 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.1372, allocations: 0.9375 kB / 0.5605 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1373, allocations: 168.3 kB / 0.5606 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1374, allocations: 8.375 kB / 0.5606 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1374, allocations: 384 / 0.5606 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.1375, allocations: 38 kB / 0.5607 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1375, allocations: 0 / 0.5607 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1375, allocations: 4 kB / 0.5607 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1375, allocations: 0 / 0.5607 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.702e-05/0.1375, allocations: 0 / 0.5607 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.1377, allocations: 149.7 kB / 0.5608 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.955e-05/0.1377, allocations: 30.53 kB / 0.5608 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.1377, allocations: 4.859 kB / 0.5608 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.1377, allocations: 0 / 0.5608 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.1378, allocations: 60.2 kB / 0.5609 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1378, allocations: 4.062 kB / 0.5609 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001659/0.138, allocations: 59.41 kB / 0.561 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.138, allocations: 89.03 kB / 0.561 GB, free: 436 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.141e-05/0.1381, allocations: 97.94 kB / 0.5611 GB, free: 328 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1381, allocations: 29.64 kB / 0.5612 GB, free: 292 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.1381, allocations: 80.14 kB / 0.5612 GB, free: 208 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.1382, allocations: 3.984 kB / 0.5612 GB, free: 204 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.1382, allocations: 13.72 kB / 0.5613 GB, free: 184 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1383, allocations: 310.8 kB / 0.5616 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-06/0.1383, allocations: 0 / 0.5616 GB, free: 15.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-06/0.1384, allocations: 0 / 0.5616 GB, free: 15.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.1384, allocations: 68.33 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1384, allocations: 3.938 kB / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.889e-05/0.1385, allocations: 63.39 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.1385, allocations: 33.64 kB / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1385, allocations: 0 / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1385, allocations: 0 / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.825e-06/0.1385, allocations: 3.938 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1386, allocations: 4 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.1386, allocations: 0 / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1386, allocations: 0 / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001005/0.1387, allocations: 147.6 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.1387, allocations: 3.938 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.614e-06/0.1387, allocations: 3.125 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.1387, allocations: 0 / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1387, allocations: 0 / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1387, allocations: 0 / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.1388, allocations: 149.7 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1388, allocations: 0 / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1388, allocations: 0 / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1388, allocations: 7.938 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.1388, allocations: 0 / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1388, allocations: 0 / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1388, allocations: 0 / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.1389, allocations: 90.83 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.139, allocations: 77.11 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.139, allocations: 7.875 kB / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.236e-05/0.139, allocations: 8.031 kB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.139, allocations: 4 kB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.139, allocations: 0 / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.172e-05/0.139, allocations: 75.28 kB / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.139, allocations: 0 / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004266/0.1395, allocations: 123.9 kB / 0.5624 GB, free: 14.87 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0007817/0.1403, allocations: 188.6 kB / 0.5626 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.1404, allocations: 67.39 kB / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1404, allocations: 0 / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/0.1404, allocations: 55.41 kB / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.1405, allocations: 0 / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.1407, allocations: 110.8 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.1411, allocations: 0.6729 MB / 0.5635 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.224e-05/0.1411, allocations: 11.44 kB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1411, allocations: 0 / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of Templates: time 0.005344/0.1464, allocations: 2.709 MB / 0.5661 GB, free: 10.98 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.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.65633563301526]