Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009841/0.0009841, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001042/0.001042, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9568/0.9568, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1316/0.1316, allocations: 32.37 MB / 270.7 MB, free: 14.55 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 348.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.22e-05, allocations: 2.312 kB / 348.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0008524/0.0008646, allocations: 0.5197 MB / 348.6 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.002188, allocations: 1.533 MB / 350.2 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.991e-05/0.002208, allocations: 4 kB / 350.2 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.348e-05/0.002221, allocations: 0 / 350.2 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.281e-06/0.002227, allocations: 0 / 350.2 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.002893, allocations: 255.2 kB / 350.4 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.615e-05/0.002929, allocations: 0 / 350.4 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.774e-05/0.002957, allocations: 7.984 kB / 350.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.489e-05/0.002981, allocations: 0 / 350.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.41e-05/0.002996, allocations: 0 / 350.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.051e-06/0.003002, allocations: 0 / 350.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005608/0.003562, allocations: 0.6868 MB / 351.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-06/0.00357, allocations: 3.938 kB / 351.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.216e-05/0.003583, allocations: 4 kB / 351.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.004013, allocations: 0.7409 MB / 351.9 MB, free: 5.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004014, allocations: 0 / 351.9 MB, free: 5.426 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004015, allocations: 0 / 351.9 MB, free: 5.426 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.004018, allocations: 0 / 351.9 MB, free: 5.426 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.0002264/0.004244, allocations: 389.8 kB / 352.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.004275, allocations: 8.031 kB / 352.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.004299, allocations: 4.938 kB / 352.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.349e-05/0.004332, allocations: 108.6 kB / 352.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.004339, allocations: 4.375 kB / 352.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.004349, allocations: 8.312 kB / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.201e-05/0.004401, allocations: 55.95 kB / 352.4 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.004406, allocations: 192 / 352.4 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-06/0.00441, allocations: 384 / 352.4 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.004415, allocations: 3.938 kB / 352.4 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.999e-06/0.004425, allocations: 33.7 kB / 352.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.214e-05/0.004477, allocations: 89.27 kB / 352.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.826e-05/0.004505, allocations: 56.78 kB / 352.6 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.927e-06/0.004514, allocations: 41.31 kB / 352.6 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-06/0.004518, allocations: 8.062 kB / 352.6 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.004542, allocations: 59.09 kB / 352.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.52e-07/0.004543, allocations: 0 / 352.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001144/0.004657, allocations: 118.8 kB / 352.8 MB, free: 4.277 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.838e-05/0.004676, allocations: 77.11 kB / 352.9 MB, free: 4.184 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.869e-05/0.004694, allocations: 142.2 kB / 353 MB, free: 4.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-06/0.004698, allocations: 29.7 kB / 353.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.789e-06/0.004708, allocations: 130.9 kB / 353.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.00472, allocations: 352 / 353.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.004743, allocations: 15.5 kB / 353.2 MB, free: 3.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.341e-05/0.004786, allocations: 0.4922 MB / 353.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.004797, allocations: 29.64 kB / 353.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-06/0.004806, allocations: 29.69 kB / 353.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/0.004835, allocations: 63.09 kB / 353.8 MB, free: 3.188 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004836, allocations: 0 / 353.8 MB, free: 3.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.571e-05/0.004882, allocations: 93.06 kB / 353.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.004902, allocations: 29.7 kB / 353.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.004907, allocations: 3.984 kB / 353.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.004917, allocations: 4 kB / 353.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.004918, allocations: 4.094 kB / 353.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.004921, allocations: 0 / 353.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.131e-05/0.004932, allocations: 3.938 kB / 354 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.004938, allocations: 4 kB / 354 MB, free: 3.023 MB / 282.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.011e-05/0.004978, allocations: 186.2 kB / 354.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-06/0.004983, allocations: 0 / 354.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.071e-05/0.004994, allocations: 6.938 kB / 354.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.004995, allocations: 4 kB / 354.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.004997, allocations: 0 / 354.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.004999, allocations: 0 / 354.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.346e-05/0.005042, allocations: 101.2 kB / 354.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.005043, allocations: 0 / 354.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.005044, allocations: 0 / 354.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.005045, allocations: 4 kB / 354.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.005049, allocations: 0 / 354.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.00505, allocations: 0 / 354.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.00505, allocations: 0 / 354.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.44e-05/0.005105, allocations: 131.8 kB / 354.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-06/0.005108, allocations: 3.984 kB / 354.4 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.005118, allocations: 4 kB / 354.4 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-06/0.005124, allocations: 4.031 kB / 354.4 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-06/0.005132, allocations: 3.938 kB / 354.4 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.005134, allocations: 0 / 354.4 MB, free: 2.504 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.404e-05/0.005148, allocations: 119.2 kB / 354.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005148, allocations: 0 / 354.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.005515, allocations: 123.9 kB / 354.6 MB, free: 2.266 MB / 282.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.0004596/0.005974, allocations: 184.4 kB / 354.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.058e-05/0.006045, allocations: 122.5 kB / 354.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.006046, allocations: 0 / 354.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.006063, allocations: 84.8 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.006169, allocations: 11.94 kB / 355 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001208/0.00629, allocations: 113.6 kB / 355.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.786e-05/0.006308, allocations: 59.42 kB / 355.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.678e-06/0.006313, allocations: 0 / 355.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.006337, allocations: 70.2 kB / 355.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006338, allocations: 0 / 355.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of Templates: time 0.006216/0.01255, allocations: 4.466 MB / 359.7 MB, free: 13.05 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.384377255104482]