Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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.001011/0.001011, allocations: 73.98 kB / 22.21 MB, free: 2.297 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.001013/0.001013, allocations: 165.2 kB / 25.61 MB, free: 8.902 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.9397/0.9397, allocations: 177.2 MB / 206.1 MB, free: 4.508 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.1348/0.1348, allocations: 32.81 MB / 295.4 MB, free: 15.37 MB / 282.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212e-05/1.333e-05, allocations: 2.312 kB / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0008207/0.000834, allocations: 0.4931 MB / 377.7 MB, free: 25.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.002577, allocations: 2.094 MB / 379.8 MB, free: 23.01 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.002599, allocations: 4 kB / 379.8 MB, free: 23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.077e-05/0.002609, allocations: 4 kB / 379.8 MB, free: 23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.847e-06/0.002613, allocations: 0 / 379.8 MB, free: 23 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.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.00108/0.003693, allocations: 0.7673 MB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 3.463e-05/0.003728, allocations: 0 / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.63e-05/0.003754, allocations: 0 / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.003771, allocations: 7.938 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.153e-05/0.003782, allocations: 0 / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-06/0.003787, allocations: 0 / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.004885, allocations: 1.56 MB / 382.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-06/0.00489, allocations: 0 / 382.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.367e-06/0.004899, allocations: 7.984 kB / 382.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.005915, allocations: 1.863 MB / 384 MB, free: 18.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005917, allocations: 3.984 kB / 384.1 MB, free: 18.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.005918, allocations: 0 / 384.1 MB, free: 18.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.685e-06/0.005921, allocations: 0 / 384.1 MB, free: 18.78 MB / 314.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.0003357/0.006257, allocations: 469.3 kB / 384.5 MB, free: 18.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.006284, allocations: 15.98 kB / 384.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.122e-05/0.006305, allocations: 4.938 kB / 384.5 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.149e-05/0.006337, allocations: 104.6 kB / 384.6 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.006345, allocations: 384 / 384.6 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-06/0.006349, allocations: 4.312 kB / 384.6 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.588e-05/0.006395, allocations: 55.97 kB / 384.7 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.0064, allocations: 3.938 kB / 384.7 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-06/0.006405, allocations: 0 / 384.7 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.006408, allocations: 0 / 384.7 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.868e-06/0.006418, allocations: 33.69 kB / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.445e-05/0.006463, allocations: 93.27 kB / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.59e-05/0.006488, allocations: 56.8 kB / 384.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-06/0.006497, allocations: 37.33 kB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-06/0.006499, allocations: 0 / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.006517, allocations: 63.16 kB / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.006518, allocations: 0 / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 9.92e-05/0.006617, allocations: 114.8 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.006635, allocations: 81.05 kB / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.033e-05/0.006655, allocations: 142.2 kB / 385.3 MB, free: 17.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-06/0.006659, allocations: 25.7 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.063e-05/0.00667, allocations: 131 kB / 385.5 MB, free: 17.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.006683, allocations: 11.88 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.006701, allocations: 23.36 kB / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.929e-05/0.00674, allocations: 496.1 kB / 386 MB, free: 16.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.006749, allocations: 33.64 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-06/0.006755, allocations: 25.7 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/0.006779, allocations: 63.09 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.00678, allocations: 0 / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.124e-05/0.006812, allocations: 89.09 kB / 386.2 MB, free: 16.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.00683, allocations: 33.8 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006834, allocations: 0 / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/0.006842, allocations: 0 / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.006843, allocations: 0 / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.006848, allocations: 7.938 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-06/0.006858, allocations: 352 / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.006864, allocations: 3.938 kB / 386.2 MB, free: 16.31 MB / 314.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.688e-05/0.00691, allocations: 190.3 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-06/0.006915, allocations: 0 / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.013e-06/0.006922, allocations: 3 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.006923, allocations: 0 / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.006926, allocations: 7.938 kB / 386.4 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.006929, allocations: 0 / 386.4 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.433e-05/0.006963, allocations: 97.22 kB / 386.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.5e-07/0.006964, allocations: 0 / 386.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.006964, allocations: 4 kB / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.61e-07/0.006965, allocations: 0 / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.006969, allocations: 0 / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.00697, allocations: 7.984 kB / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.006971, allocations: 0 / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.59e-05/0.007017, allocations: 127.8 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-06/0.007021, allocations: 12.02 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-06/0.007029, allocations: 0 / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.689e-06/0.007034, allocations: 7.938 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-06/0.007042, allocations: 0 / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.007044, allocations: 0 / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.189e-05/0.007056, allocations: 119.2 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007056, allocations: 0 / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004417/0.007498, allocations: 299.5 kB / 387.1 MB, free: 15.38 MB / 314.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.0008039/0.008301, allocations: 0.517 MB / 387.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.484e-05/0.008356, allocations: 126.5 kB / 387.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.008358, allocations: 0 / 387.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.163e-05/0.008369, allocations: 88.8 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.898e-05/0.008458, allocations: 7.922 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.289e-05/0.008551, allocations: 111.5 kB / 387.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.488e-05/0.008566, allocations: 59.22 kB / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.21e-06/0.008571, allocations: 4 kB / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.008589, allocations: 70.2 kB / 388.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of SimCode: time 4.8e-07/0.00859, allocations: 0 / 388.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of Templates: time 0.00803/0.01662, allocations: 9.757 MB / 397.8 MB, free: 4.543 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.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: 4.417210046201944]