Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.001026/0.001026, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001019/0.001019, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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.9849/0.9849, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1488/0.1488, allocations: 32.36 MB / 270.4 MB, free: 14.71 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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.78e-05, allocations: 2.312 kB / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001048/0.001076, allocations: 0.5236 MB / 348.2 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.00252, allocations: 1.58 MB / 349.7 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.002537, allocations: 4 kB / 349.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.00256, allocations: 0 / 349.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.244e-06/0.002567, allocations: 0 / 349.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007932/0.00336, allocations: 295 kB / 350 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.455e-05/0.003415, allocations: 8 kB / 350 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.00345, allocations: 3.984 kB / 350 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/0.003481, allocations: 0 / 350 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.176e-05/0.003503, allocations: 4 kB / 350.1 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.003512, allocations: 0 / 350.1 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004444/0.003956, allocations: 419 kB / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.799e-06/0.003966, allocations: 0 / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.003987, allocations: 0 / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.004277, allocations: 315.1 kB / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.00428, allocations: 4 kB / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.004282, allocations: 0 / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004286, allocations: 4 kB / 350.8 MB, free: 6.316 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.0002872/0.004573, allocations: 405.7 kB / 351.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.00461, allocations: 8.031 kB / 351.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.004649, allocations: 4.938 kB / 351.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.712e-05/0.004696, allocations: 108.6 kB / 351.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.004708, allocations: 384 / 351.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.004719, allocations: 4.312 kB / 351.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.361e-05/0.004813, allocations: 55.97 kB / 351.4 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.00482, allocations: 192 / 351.4 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.004829, allocations: 384 / 351.4 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.004839, allocations: 7.938 kB / 351.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.004856, allocations: 29.69 kB / 351.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.584e-05/0.004931, allocations: 108.6 kB / 351.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.803e-05/0.004979, allocations: 56.86 kB / 351.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/0.004996, allocations: 37.33 kB / 351.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-06/0.005001, allocations: 0 / 351.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.005028, allocations: 59.09 kB / 351.6 MB, free: 5.285 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.005029, allocations: 7.984 kB / 351.7 MB, free: 5.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001797/0.005209, allocations: 118.8 kB / 351.8 MB, free: 5.137 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.00524, allocations: 81.17 kB / 351.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.333e-05/0.005263, allocations: 146.2 kB / 352 MB, free: 4.883 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-06/0.005269, allocations: 25.7 kB / 352 MB, free: 4.852 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.338e-05/0.005282, allocations: 126.9 kB / 352.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.005301, allocations: 352 / 352.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.005322, allocations: 23.36 kB / 352.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.005369, allocations: 492.1 kB / 352.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.005386, allocations: 37.58 kB / 352.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-06/0.005395, allocations: 25.7 kB / 352.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/0.005432, allocations: 67.09 kB / 352.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005434, allocations: 4.062 kB / 352.8 MB, free: 4.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.783e-05/0.005482, allocations: 93.05 kB / 352.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.005506, allocations: 29.7 kB / 352.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.005511, allocations: 0 / 352.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.005525, allocations: 0 / 352.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.001e-06/0.005531, allocations: 4 kB / 352.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.005537, allocations: 3.938 kB / 352.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.213e-05/0.005549, allocations: 0 / 352.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.005555, allocations: 0 / 352.9 MB, free: 3.887 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.888e-05/0.005604, allocations: 198.2 kB / 353.1 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-06/0.005609, allocations: 4.031 kB / 353.1 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.037e-05/0.005619, allocations: 3 kB / 353.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.005621, allocations: 0 / 353.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.005625, allocations: 0 / 353.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005628, allocations: 7.938 kB / 353.1 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.756e-05/0.005665, allocations: 104.6 kB / 353.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005666, allocations: 0 / 353.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.005667, allocations: 0 / 353.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005668, allocations: 0 / 353.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.005675, allocations: 4 kB / 353.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.005676, allocations: 3.984 kB / 353.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.005678, allocations: 8 kB / 353.2 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.231e-05/0.00574, allocations: 127.8 kB / 353.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-06/0.005744, allocations: 3.984 kB / 353.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.005759, allocations: 4 kB / 353.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-06/0.005763, allocations: 0 / 353.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.005776, allocations: 3.938 kB / 353.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.005778, allocations: 0 / 353.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.676e-05/0.005795, allocations: 123.1 kB / 353.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005795, allocations: 0 / 353.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002168/0.006012, allocations: 71.73 kB / 353.6 MB, free: 3.145 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.0003593/0.006371, allocations: 192.1 kB / 353.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.315e-05/0.006455, allocations: 118.5 kB / 353.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.006456, allocations: 0 / 353.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.654e-05/0.006473, allocations: 92.78 kB / 353.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.212e-05/0.006565, allocations: 8 kB / 354 MB, free: 2.695 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001691/0.006734, allocations: 109.7 kB / 354.1 MB, free: 2.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.267e-05/0.006757, allocations: 55.34 kB / 354.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.261e-06/0.006763, allocations: 0 / 354.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.006775, allocations: 12.44 kB / 354.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.006776, allocations: 128 / 354.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of Templates: time 0.003238/0.01001, allocations: 1.51 MB / 355.6 MB, free: 0.9609 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.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.190339713357389]