Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009513/0.0009513, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009168/0.0009168, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.9128/0.9128, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2617/0.2617, allocations: 32.81 MB / 294.6 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 376.4 MB, free: 4.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.628e-05, allocations: 6.25 kB / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001174/0.00119, allocations: 0.5194 MB / 377 MB, free: 3.887 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.003211, allocations: 1.545 MB / 378.5 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.003233, allocations: 0 / 378.5 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.003247, allocations: 0 / 378.5 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.71e-06/0.003253, allocations: 0 / 378.5 MB, free: 2.32 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0007544/0.004007, allocations: 259.2 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.226e-05/0.004049, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.228e-05/0.004081, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.004111, allocations: 3.984 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.415e-05/0.004125, allocations: 8 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-06/0.004132, allocations: 3.984 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000798/0.00493, allocations: 0.6752 MB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-06/0.004937, allocations: 4 kB / 379.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.194e-05/0.004949, allocations: 0 / 379.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006627/0.005612, allocations: 0.7524 MB / 380.2 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.005614, allocations: 0 / 380.2 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005614, allocations: 0 / 380.2 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.005617, allocations: 0 / 380.2 MB, free: 0.6172 MB / 346.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.0003093/0.005927, allocations: 393.9 kB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.005961, allocations: 12.03 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.212e-05/0.005983, allocations: 0.9375 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.425e-05/0.006037, allocations: 108.6 kB / 380.7 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.006046, allocations: 384 / 380.7 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-06/0.006051, allocations: 384 / 380.7 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.511e-05/0.006126, allocations: 55.97 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.006133, allocations: 192 / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-06/0.006137, allocations: 384 / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.006144, allocations: 3.938 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.719e-05/0.006161, allocations: 33.62 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.549e-05/0.006236, allocations: 97.27 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.922e-05/0.006276, allocations: 60.8 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.006292, allocations: 33.39 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-06/0.006295, allocations: 0 / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.00633, allocations: 67.09 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/0.006332, allocations: 3.984 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001326/0.006464, allocations: 122.7 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.006495, allocations: 77.11 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.478e-05/0.00654, allocations: 142.2 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.006549, allocations: 25.7 kB / 381.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.006577, allocations: 131 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.006591, allocations: 4.344 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.006616, allocations: 19.38 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.006737, allocations: 0.4883 MB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.006754, allocations: 29.7 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.284e-05/0.006767, allocations: 25.7 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.162e-05/0.006808, allocations: 63.09 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006809, allocations: 3.938 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.928e-05/0.006879, allocations: 93.05 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.006902, allocations: 33.8 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.006906, allocations: 4 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.006917, allocations: 0 / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.006918, allocations: 0 / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.00692, allocations: 0 / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.006935, allocations: 7.938 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.006939, allocations: 0 / 382.3 MB, free: 14.21 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 7.255e-05/0.007012, allocations: 190.2 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-06/0.007017, allocations: 4 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.02e-05/0.007027, allocations: 3 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.007028, allocations: 0 / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.007029, allocations: 4 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.007032, allocations: 0 / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.162e-05/0.007093, allocations: 97.2 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.007094, allocations: 0 / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-07/0.007095, allocations: 0 / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007096, allocations: 0 / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.007101, allocations: 0 / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.007101, allocations: 3.938 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.007104, allocations: 4 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.772e-05/0.007192, allocations: 135.8 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-06/0.007195, allocations: 7.969 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.007205, allocations: 3.984 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-06/0.007212, allocations: 0 / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-06/0.007221, allocations: 4 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.007223, allocations: 0 / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.027e-05/0.007253, allocations: 119.2 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007253, allocations: 0 / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003264/0.007579, allocations: 115.9 kB / 383 MB, free: 13.46 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.0005082/0.008088, allocations: 184.4 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.07e-05/0.008178, allocations: 118.4 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.00818, allocations: 0 / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.225e-05/0.008212, allocations: 92.78 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.008321, allocations: 14.09 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001352/0.008457, allocations: 117.6 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.784e-05/0.008484, allocations: 55.34 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.698e-06/0.008489, allocations: 0 / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.008521, allocations: 70.2 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008522, allocations: 0 / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of Templates: time 0.006159/0.01468, allocations: 4.462 MB / 388.1 MB, free: 8.246 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1452218838967383]