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.001272/0.001272, allocations: 82.66 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001598/0.001598, allocations: 166.8 kB / 24.82 MB, free: 9.211 MB / 18.57 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 0.9945/0.9945, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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.2849/0.2849, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.7 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 1.773e-06/1.773e-06, allocations: 0 / 378.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.723e-05, allocations: 6.25 kB / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001307/0.001335, allocations: 0.493 MB / 379 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.003349, allocations: 1.565 MB / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.003373, allocations: 0 / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.003387, allocations: 0 / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.762e-06/0.003394, allocations: 0 / 380.5 MB, free: 356 kB / 346.7 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.0008105/0.004204, allocations: 251.2 kB / 380.8 MB, free: 104 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.459e-05/0.004249, allocations: 4 kB / 380.8 MB, free: 100 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.276e-05/0.004281, allocations: 4 kB / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.753e-05/0.004309, allocations: 0 / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.509e-05/0.004324, allocations: 0 / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.903e-06/0.004331, allocations: 0 / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007289/0.00506, allocations: 0.6946 MB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.638e-06/0.00507, allocations: 0 / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.005089, allocations: 4 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006297/0.005718, allocations: 0.7408 MB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.005721, allocations: 0 / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.005723, allocations: 0 / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.005727, allocations: 0 / 382.2 MB, free: 14.65 MB / 362.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.0003677/0.006095, allocations: 397.8 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.006134, allocations: 12.03 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.006159, allocations: 0.9375 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.444e-05/0.006214, allocations: 108.6 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.006223, allocations: 4.375 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-06/0.006229, allocations: 4.312 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.916e-05/0.006298, allocations: 55.95 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.006306, allocations: 4.188 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.006312, allocations: 384 / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.006318, allocations: 3.938 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.681e-05/0.006334, allocations: 29.7 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.588e-05/0.00642, allocations: 97.27 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.734e-05/0.006458, allocations: 52.77 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.006477, allocations: 45.42 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-06/0.006481, allocations: 0 / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.006517, allocations: 63.08 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.006518, allocations: 0 / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001599/0.006678, allocations: 110.8 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.006723, allocations: 81.11 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.93e-05/0.006782, allocations: 150.4 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.006795, allocations: 25.7 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.006838, allocations: 130.9 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.006856, allocations: 352 / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.006884, allocations: 23.36 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.007017, allocations: 496.1 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.007037, allocations: 29.64 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/0.007053, allocations: 29.7 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.007094, allocations: 63.08 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.007096, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.97e-05/0.007156, allocations: 93.12 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.007184, allocations: 33.7 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.007188, allocations: 0 / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.007197, allocations: 0 / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.007198, allocations: 0 / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.0072, allocations: 0 / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.007213, allocations: 7.875 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.00722, allocations: 11.92 kB / 384.3 MB, free: 12.24 MB / 362.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 6.554e-05/0.007286, allocations: 182.3 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-06/0.007291, allocations: 4 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.638e-06/0.007301, allocations: 7.031 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.007302, allocations: 0 / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.007304, allocations: 0 / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.007306, allocations: 0 / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.124e-05/0.007358, allocations: 93.2 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.007358, allocations: 4 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-06/0.00736, allocations: 3.984 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.007361, allocations: 0 / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-06/0.007365, allocations: 0 / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.007366, allocations: 0 / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.007366, allocations: 0 / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.567e-05/0.007442, allocations: 135.8 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-06/0.007447, allocations: 7.938 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.007456, allocations: 0 / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-06/0.007461, allocations: 3.938 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-06/0.007469, allocations: 0 / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.007471, allocations: 4 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.706e-05/0.007498, allocations: 119.2 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007498, allocations: 0 / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000314/0.007812, allocations: 119.9 kB / 385 MB, free: 11.49 MB / 362.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.0004689/0.008281, allocations: 195.1 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.008392, allocations: 122.5 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008394, allocations: 64 / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.008429, allocations: 92.8 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.283e-05/0.008522, allocations: 7.875 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.008743, allocations: 121.6 kB / 385.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.167e-05/0.008785, allocations: 59.3 kB / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.186e-06/0.008793, allocations: 0 / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.008846, allocations: 70.2 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of SimCode: time 2.114e-06/0.008848, allocations: 0 / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of Templates: time 0.007578/0.01643, allocations: 4.446 MB / 390.1 MB, free: 6.277 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.5688047618605196]