Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.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.001526/0.001526, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001761/0.001761, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.51/1.51, allocations: 230.2 MB / 255.2 MB, free: 15.06 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.2264/0.2264, allocations: 46.88 MB / 358.1 MB, free: 10.5 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3") [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.002286/0.002286, allocations: 83.86 kB / 0.4923 GB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1303, allocations: 65.98 MB / 0.5568 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001662/0.132, allocations: 0.4892 MB / 0.5573 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1342, allocations: 1.571 MB / 0.5588 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.1342, allocations: 0 / 0.5588 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.1342, allocations: 3.938 kB / 0.5588 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.1343, allocations: 0 / 0.5588 GB, free: 3.859 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.0008771/0.1351, allocations: 235 kB / 0.559 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.134e-05/0.1352, allocations: 4 kB / 0.559 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.1352, allocations: 4 kB / 0.559 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.417e-05/0.1352, allocations: 0 / 0.559 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.554e-05/0.1353, allocations: 0 / 0.559 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.611e-06/0.1353, allocations: 0 / 0.559 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.1363, allocations: 0.7454 MB / 0.5598 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.574e-06/0.1363, allocations: 0 / 0.5598 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.1363, allocations: 0 / 0.5598 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007491/0.1371, allocations: 0.6473 MB / 0.5604 GB, free: 2.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1371, allocations: 3.938 kB / 0.5604 GB, free: 2.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1371, allocations: 3.938 kB / 0.5604 GB, free: 2.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1371, allocations: 0 / 0.5604 GB, free: 2.223 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.0004587/0.1376, allocations: 369 kB / 0.5607 GB, free: 1.809 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1376, allocations: 12.03 kB / 0.5608 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.1376, allocations: 0.9375 kB / 0.5608 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1377, allocations: 160.4 kB / 0.5609 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1377, allocations: 384 / 0.5609 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-06/0.1378, allocations: 384 / 0.5609 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.407e-05/0.1378, allocations: 42 kB / 0.5609 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.1379, allocations: 0 / 0.5609 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.1379, allocations: 4 kB / 0.561 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.1379, allocations: 0 / 0.561 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.41e-05/0.1379, allocations: 0 / 0.561 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.138, allocations: 153.6 kB / 0.5611 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.912e-05/0.1381, allocations: 18.52 kB / 0.5611 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.349e-05/0.1381, allocations: 4.859 kB / 0.5611 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.1381, allocations: 3.984 kB / 0.5611 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/0.1381, allocations: 68.3 kB / 0.5612 GB, free: 1.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.1381, allocations: 0 / 0.5612 GB, free: 1.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001618/0.1383, allocations: 71.28 kB / 0.5613 GB, free: 1.148 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.1384, allocations: 77.11 kB / 0.5613 GB, free: 1.055 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.92e-05/0.1384, allocations: 93.81 kB / 0.5614 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1384, allocations: 29.69 kB / 0.5615 GB, free: 0.918 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.1385, allocations: 80.14 kB / 0.5615 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.1385, allocations: 0 / 0.5615 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.1385, allocations: 17.84 kB / 0.5615 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1386, allocations: 310.8 kB / 0.5618 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.1387, allocations: 0 / 0.5618 GB, free: 0.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-06/0.1387, allocations: 4 kB / 0.5618 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.977e-05/0.1387, allocations: 60.27 kB / 0.5619 GB, free: 432 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1387, allocations: 3.938 kB / 0.5619 GB, free: 428 kB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.618e-05/0.1388, allocations: 67.33 kB / 0.562 GB, free: 348 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.1388, allocations: 33.64 kB / 0.562 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1388, allocations: 8.094 kB / 0.562 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1388, allocations: 0 / 0.562 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.307e-06/0.1388, allocations: 4 kB / 0.562 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.1388, allocations: 0 / 0.562 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.334e-05/0.1389, allocations: 0 / 0.562 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1389, allocations: 0 / 0.562 GB, free: 296 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.0001046/0.139, allocations: 143.5 kB / 0.5622 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.139, allocations: 3.938 kB / 0.5622 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.224e-06/0.139, allocations: 3.125 kB / 0.5622 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.139, allocations: 4 kB / 0.5622 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.139, allocations: 0 / 0.5622 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.139, allocations: 4 kB / 0.5622 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.1391, allocations: 141.7 kB / 0.5623 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1391, allocations: 0 / 0.5623 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-06/0.1391, allocations: 3.984 kB / 0.5623 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1391, allocations: 3.938 kB / 0.5623 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.1391, allocations: 0 / 0.5623 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1391, allocations: 4 kB / 0.5623 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1391, allocations: 0 / 0.5623 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.1392, allocations: 94.77 kB / 0.5624 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.1393, allocations: 77.11 kB / 0.5625 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.1393, allocations: 7.938 kB / 0.5625 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-06/0.1393, allocations: 0 / 0.5625 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-06/0.1393, allocations: 0 / 0.5625 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.1393, allocations: 0 / 0.5625 GB, free: 15.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.752e-05/0.1393, allocations: 75.28 kB / 0.5626 GB, free: 15.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1393, allocations: 0 / 0.5626 GB, free: 15.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00042/0.1398, allocations: 131.9 kB / 0.5627 GB, free: 15.5 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.0007294/0.1405, allocations: 181.3 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.08e-05/0.1406, allocations: 63.41 kB / 0.5629 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1406, allocations: 0 / 0.5629 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.829e-05/0.1406, allocations: 63.33 kB / 0.563 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.1408, allocations: 7.562 kB / 0.563 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001829/0.1409, allocations: 98.77 kB / 0.5631 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.1412, allocations: 0.6729 MB / 0.5637 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.04e-05/0.1412, allocations: 7.438 kB / 0.5637 GB, free: 14.33 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1412, allocations: 4.125 kB / 0.5637 GB, free: 14.32 MB / 430.1 MB Notification: Performance of Templates: time 0.005054/0.1463, allocations: 2.703 MB / 0.5664 GB, free: 11.61 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.532458922825754]