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.001384/0.001384, allocations: 79.27 kB / 20.52 MB, free: 1.281 MB / 14.72 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.001542/0.001542, allocations: 164.7 kB / 23.76 MB, free: 4.469 MB / 14.72 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 1.409/1.409, allocations: 158.6 MB / 185.5 MB, free: 6.215 MB / 174.1 MB " [Timeout remaining time 178] 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.2162/0.2162, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003304/0.003304, allocations: 72.47 kB / 407.7 MB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1598, allocations: 61.04 MB / 468.8 MB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001717/0.1615, allocations: 0.4989 MB / 469.3 MB, free: 7.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.1638, allocations: 1.547 MB / 470.8 MB, free: 6.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.1638, allocations: 4 kB / 470.8 MB, free: 6.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.1638, allocations: 4 kB / 470.8 MB, free: 6.246 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.092e-06/0.1638, allocations: 0 / 470.8 MB, free: 6.246 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009806/0.1648, allocations: 287.2 kB / 471.1 MB, free: 5.965 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.451e-05/0.1649, allocations: 7.938 kB / 471.1 MB, free: 5.957 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.1649, allocations: 0 / 471.1 MB, free: 5.957 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.934e-05/0.1649, allocations: 7.984 kB / 471.1 MB, free: 5.949 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.846e-05/0.1649, allocations: 3.938 kB / 471.1 MB, free: 5.945 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.65e-06/0.1649, allocations: 4 kB / 471.1 MB, free: 5.941 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007379/0.1657, allocations: 415 kB / 471.5 MB, free: 5.535 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.654e-06/0.1657, allocations: 0 / 471.5 MB, free: 5.535 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.1657, allocations: 0 / 471.5 MB, free: 5.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004789/0.1662, allocations: 299.3 kB / 471.8 MB, free: 5.242 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1662, allocations: 0 / 471.8 MB, free: 5.242 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1662, allocations: 0 / 471.8 MB, free: 5.242 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1662, allocations: 0 / 471.8 MB, free: 5.242 MB / 446.1 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.0003671/0.1666, allocations: 307.7 kB / 472.1 MB, free: 4.906 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1666, allocations: 8.031 kB / 472.1 MB, free: 4.898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.1666, allocations: 4.938 kB / 472.1 MB, free: 4.895 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.855e-05/0.1667, allocations: 102.5 kB / 472.2 MB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1667, allocations: 384 / 472.2 MB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.1667, allocations: 4.312 kB / 472.3 MB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1668, allocations: 59.72 kB / 472.3 MB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1669, allocations: 0 / 472.3 MB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.1669, allocations: 0 / 472.3 MB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1669, allocations: 0 / 472.3 MB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.204e-05/0.1669, allocations: 41.62 kB / 472.4 MB, free: 4.648 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.167, allocations: 105.3 kB / 472.5 MB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.91e-05/0.1671, allocations: 44.31 kB / 472.5 MB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.1671, allocations: 30.56 kB / 472.5 MB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.1671, allocations: 0 / 472.5 MB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/0.1672, allocations: 60.33 kB / 472.6 MB, free: 4.344 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1672, allocations: 0 / 472.6 MB, free: 4.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002348/0.1674, allocations: 126.7 kB / 472.7 MB, free: 4.195 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.1675, allocations: 77.11 kB / 472.8 MB, free: 4.102 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.213e-05/0.1675, allocations: 89.86 kB / 472.9 MB, free: 4.004 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1675, allocations: 29.83 kB / 472.9 MB, free: 3.969 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.1676, allocations: 80.14 kB / 473 MB, free: 3.887 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.1676, allocations: 7.984 kB / 473 MB, free: 3.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.1676, allocations: 17.7 kB / 473 MB, free: 3.855 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1678, allocations: 310.8 kB / 473.3 MB, free: 3.543 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.1678, allocations: 29.7 kB / 473.3 MB, free: 3.508 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-05/0.1678, allocations: 25.7 kB / 473.4 MB, free: 3.477 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.766e-05/0.1679, allocations: 64.27 kB / 473.4 MB, free: 3.398 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1679, allocations: 0 / 473.4 MB, free: 3.398 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001131/0.168, allocations: 97.09 kB / 473.5 MB, free: 3.285 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.168, allocations: 29.7 kB / 473.5 MB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.168, allocations: 0 / 473.5 MB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.168, allocations: 7.938 kB / 473.6 MB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.168, allocations: 0 / 473.6 MB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.168, allocations: 0 / 473.6 MB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.1681, allocations: 0 / 473.6 MB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.1681, allocations: 0 / 473.6 MB, free: 3.242 MB / 446.1 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 9.791e-05/0.1682, allocations: 139.5 kB / 473.7 MB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-06/0.1682, allocations: 0 / 473.7 MB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.328e-05/0.1682, allocations: 10.94 kB / 473.7 MB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1682, allocations: 4.031 kB / 473.7 MB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1682, allocations: 3.938 kB / 473.7 MB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1682, allocations: 4 kB / 473.7 MB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.579e-05/0.1683, allocations: 93.33 kB / 473.8 MB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1683, allocations: 0 / 473.8 MB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1683, allocations: 0 / 473.8 MB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1683, allocations: 0 / 473.8 MB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.1683, allocations: 0 / 473.8 MB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1683, allocations: 11.92 kB / 473.8 MB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1683, allocations: 0 / 473.8 MB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.1684, allocations: 120.5 kB / 473.9 MB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.1684, allocations: 7.938 kB / 473.9 MB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.1684, allocations: 0 / 473.9 MB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.027e-05/0.1684, allocations: 7.875 kB / 474 MB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.1684, allocations: 7.984 kB / 474 MB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.1685, allocations: 0 / 474 MB, free: 2.762 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.411e-05/0.1685, allocations: 75.28 kB / 474 MB, free: 2.688 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1685, allocations: 0 / 474 MB, free: 2.688 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.1688, allocations: 67.8 kB / 474.1 MB, free: 2.621 MB / 446.1 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.0004415/0.1692, allocations: 194 kB / 474.3 MB, free: 2.426 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.1693, allocations: 110.8 kB / 474.4 MB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.1693, allocations: 4.062 kB / 474.4 MB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.633e-05/0.1694, allocations: 89.09 kB / 474.5 MB, free: 2.184 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.1695, allocations: 0 / 474.5 MB, free: 2.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001928/0.1697, allocations: 110.6 kB / 474.6 MB, free: 2.043 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.038e-05/0.1698, allocations: 59.34 kB / 474.7 MB, free: 1.965 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.819e-06/0.1698, allocations: 0 / 474.7 MB, free: 1.965 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.366e-05/0.1698, allocations: 8.5 kB / 474.7 MB, free: 1.957 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1698, allocations: 0 / 474.7 MB, free: 1.957 MB / 446.1 MB Notification: Performance of Templates: time 0.004405/0.1742, allocations: 1.277 MB / 475.9 MB, free: 0.6797 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.000383613049053]