Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.695/1.695, allocations: 230.2 MB / 255.2 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2294/0.2294, allocations: 46.89 MB / 358.1 MB, free: 10.54 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 84.95 kB / 0.4923 GB, free: 26.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1236, allocations: 65.99 MB / 0.5568 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001704/0.1253, allocations: 485 kB / 0.5572 GB, free: 8.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003232/0.1286, allocations: 2.167 MB / 0.5594 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.1286, allocations: 0 / 0.5594 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.1286, allocations: 0 / 0.5594 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.002e-06/0.1286, allocations: 0 / 0.5594 GB, free: 5.988 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.1307, allocations: 0.7202 MB / 0.5601 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.648e-05/0.1308, allocations: 7.938 kB / 0.5601 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.1308, allocations: 4 kB / 0.5601 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.21e-05/0.1308, allocations: 0 / 0.5601 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.399e-05/0.1309, allocations: 3.984 kB / 0.5601 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1309, allocations: 0 / 0.5601 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.1333, allocations: 1.572 MB / 0.5616 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.1333, allocations: 4 kB / 0.5616 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.1333, allocations: 4 kB / 0.5616 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.1351, allocations: 1.555 MB / 0.5631 GB, free: 2.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1351, allocations: 0 / 0.5631 GB, free: 2.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1351, allocations: 0 / 0.5631 GB, free: 2.121 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.1351, allocations: 0 / 0.5631 GB, free: 2.121 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.0006896/0.1358, allocations: 424.4 kB / 0.5636 GB, free: 1.652 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1358, allocations: 8.031 kB / 0.5636 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.1359, allocations: 4.938 kB / 0.5636 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.136, allocations: 164.3 kB / 0.5637 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.136, allocations: 4.375 kB / 0.5637 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.136, allocations: 384 / 0.5637 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.1361, allocations: 38.02 kB / 0.5638 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1361, allocations: 0 / 0.5638 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1361, allocations: 0 / 0.5638 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1361, allocations: 0 / 0.5638 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.018e-05/0.1361, allocations: 3.984 kB / 0.5638 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.1363, allocations: 153.7 kB / 0.5639 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.932e-05/0.1364, allocations: 26.52 kB / 0.5639 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.1364, allocations: 4.859 kB / 0.5639 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.1364, allocations: 3.938 kB / 0.5639 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.652e-05/0.1364, allocations: 64.3 kB / 0.564 GB, free: 1.066 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1364, allocations: 3.938 kB / 0.564 GB, free: 1.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001886/0.1366, allocations: 71.34 kB / 0.5641 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.1367, allocations: 77.11 kB / 0.5642 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.984e-05/0.1367, allocations: 97.92 kB / 0.5642 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1367, allocations: 25.7 kB / 0.5643 GB, free: 0.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.1368, allocations: 84.14 kB / 0.5643 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.1368, allocations: 0 / 0.5643 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.1368, allocations: 17.72 kB / 0.5644 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.137, allocations: 314.8 kB / 0.5647 GB, free: 332 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.137, allocations: 0 / 0.5647 GB, free: 332 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-06/0.137, allocations: 0 / 0.5647 GB, free: 332 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.235e-05/0.137, allocations: 64.33 kB / 0.5647 GB, free: 252 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.137, allocations: 0 / 0.5647 GB, free: 252 kB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.09e-05/0.1371, allocations: 63.41 kB / 0.5648 GB, free: 176 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.1372, allocations: 37.62 kB / 0.5648 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.1372, allocations: 3.984 kB / 0.5648 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1372, allocations: 4 kB / 0.5648 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.1372, allocations: 3.938 kB / 0.5648 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1372, allocations: 0 / 0.5648 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.1372, allocations: 0 / 0.5648 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1372, allocations: 4.031 kB / 0.5648 GB, free: 116 kB / 414.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.0001117/0.1373, allocations: 135.6 kB / 0.565 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.1373, allocations: 3.938 kB / 0.565 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.236e-06/0.1373, allocations: 3.125 kB / 0.565 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.1373, allocations: 0 / 0.565 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1373, allocations: 0 / 0.565 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1373, allocations: 3.938 kB / 0.565 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.1375, allocations: 149.7 kB / 0.5651 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1375, allocations: 0 / 0.5651 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1375, allocations: 0 / 0.5651 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1375, allocations: 7.938 kB / 0.5651 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.1375, allocations: 0 / 0.5651 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.1375, allocations: 0 / 0.5651 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1375, allocations: 4 kB / 0.5651 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.1376, allocations: 86.83 kB / 0.5652 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.1376, allocations: 81.05 kB / 0.5653 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1376, allocations: 11.88 kB / 0.5653 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.369e-05/0.1376, allocations: 16.02 kB / 0.5653 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.1377, allocations: 0 / 0.5653 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.1377, allocations: 0 / 0.5653 GB, free: 15.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.226e-05/0.1377, allocations: 79.22 kB / 0.5654 GB, free: 15.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1377, allocations: 0 / 0.5654 GB, free: 15.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008945/0.1386, allocations: 271.6 kB / 0.5657 GB, free: 15.17 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.001375/0.14, allocations: 399.6 kB / 0.566 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.1401, allocations: 59.39 kB / 0.5661 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.1401, allocations: 12.06 kB / 0.5661 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.536e-05/0.1401, allocations: 55.34 kB / 0.5662 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.1403, allocations: 4 kB / 0.5662 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.1405, allocations: 106.7 kB / 0.5663 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1408, allocations: 0.6729 MB / 0.5669 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.1408, allocations: 7.438 kB / 0.5669 GB, free: 13.79 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1408, allocations: 4 kB / 0.5669 GB, free: 13.78 MB / 430.1 MB Notification: Performance of Templates: time 0.01228/0.1531, allocations: 6.636 MB / 0.5734 GB, free: 7.133 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.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: 11.884590582922101]