Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0009721/0.0009721, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001604/0.002576, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001058/0.001058, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002504, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9712/0.9712, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08401/1.055, allocations: 53.87 MB / 243.8 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2419/0.2419, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02592/0.2679, allocations: 13.22 MB / 292.6 MB, free: 6.488 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 293.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.654e-05, allocations: 8.219 kB / 293.9 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0009679/0.0009844, allocations: 0.5329 MB / 294.4 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.002394, allocations: 1.574 MB / 296 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.404e-05/0.002408, allocations: 0 / 296 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.647e-06/0.002412, allocations: 0 / 296 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.01e-07/0.002413, allocations: 0 / 296 MB, free: 3.094 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0006156/0.003028, allocations: 240.4 kB / 296.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.692e-05/0.003075, allocations: 4 kB / 296.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.008e-05/0.003105, allocations: 3.984 kB / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.988e-05/0.003135, allocations: 4 kB / 296.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.903e-05/0.003154, allocations: 11.92 kB / 296.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.732e-06/0.003161, allocations: 0 / 296.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006416/0.003802, allocations: 0.6947 MB / 296.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.265e-06/0.003811, allocations: 3.984 kB / 296.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.117e-05/0.003822, allocations: 0 / 296.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.004312, allocations: 0.5421 MB / 297.5 MB, free: 1.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.004323, allocations: 0 / 297.5 MB, free: 1.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.004325, allocations: 0 / 297.5 MB, free: 1.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.004338, allocations: 0 / 297.5 MB, free: 1.594 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003378/0.004675, allocations: 282.1 kB / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.004707, allocations: 12.92 kB / 297.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.004734, allocations: 4.938 kB / 297.8 MB, free: 1.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.012e-05/0.004794, allocations: 109.8 kB / 297.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.004803, allocations: 384 / 297.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-06/0.00481, allocations: 4.375 kB / 297.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.255e-05/0.004873, allocations: 55.91 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.004878, allocations: 192 / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.004884, allocations: 4.375 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.00489, allocations: 3.938 kB / 297.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.731e-05/0.004907, allocations: 25.7 kB / 298 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.659e-05/0.004963, allocations: 61.03 kB / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.858e-05/0.005002, allocations: 52.27 kB / 298.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.005017, allocations: 34.66 kB / 298.1 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-06/0.00502, allocations: 0 / 298.1 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.005051, allocations: 60.2 kB / 298.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.005052, allocations: 4 kB / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001081/0.00516, allocations: 114.8 kB / 298.3 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.005192, allocations: 77.11 kB / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.865e-05/0.005221, allocations: 93.86 kB / 298.4 MB, free: 448 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.005228, allocations: 25.7 kB / 298.5 MB, free: 416 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.74e-05/0.005246, allocations: 84.27 kB / 298.5 MB, free: 328 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.005263, allocations: 0.6875 kB / 298.5 MB, free: 328 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.005285, allocations: 13.72 kB / 298.6 MB, free: 308 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.005364, allocations: 314.8 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.005384, allocations: 29.69 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.187e-05/0.005396, allocations: 29.7 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.005434, allocations: 64.2 kB / 299 MB, free: 15.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005435, allocations: 0 / 299 MB, free: 15.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.854e-05/0.005484, allocations: 85.09 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.005517, allocations: 37.8 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005521, allocations: 4 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.262e-06/0.005528, allocations: 0 / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.958e-06/0.005532, allocations: 7.938 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.005534, allocations: 0 / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.00555, allocations: 3.938 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.005557, allocations: 7.938 kB / 299.1 MB, free: 15.67 MB / 298.7 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 4.962e-05/0.005607, allocations: 131.5 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-06/0.005612, allocations: 7.984 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.853e-06/0.005619, allocations: 3 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.00562, allocations: 0 / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.005621, allocations: 4 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.005623, allocations: 3.938 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.159e-05/0.005665, allocations: 69.83 kB / 299.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-07/0.005665, allocations: 0 / 299.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.005666, allocations: 0 / 299.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-06/0.005669, allocations: 0 / 299.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-07/0.005669, allocations: 0 / 299.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-06/0.005673, allocations: 0 / 299.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.005674, allocations: 4 kB / 299.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.005676, allocations: 3.984 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.161e-05/0.005738, allocations: 112.5 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.005748, allocations: 3.984 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.781e-06/0.005754, allocations: 4 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.735e-06/0.005762, allocations: 0 / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.005763, allocations: 0 / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.322e-06/0.00577, allocations: 8.859 kB / 299.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.00577, allocations: 0 / 299.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.006007, allocations: 115.9 kB / 299.6 MB, free: 15.14 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: 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.0004834/0.00649, allocations: 190.6 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.275e-05/0.006573, allocations: 119.7 kB / 299.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.006576, allocations: 0 / 299.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.006602, allocations: 89.95 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.207e-05/0.006644, allocations: 12 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001273/0.006772, allocations: 109.4 kB / 300.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.778e-05/0.006799, allocations: 55.34 kB / 300.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.41e-06/0.006805, allocations: 0 / 300.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.006833, allocations: 51.38 kB / 300.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.006834, allocations: 0 / 300.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of Templates: time 0.004949/0.01178, allocations: 4.053 MB / 304.3 MB, free: 10.38 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.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.073769454844296]