Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.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.0008883/0.0008883, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0008929/0.0008929, allocations: 173.9 kB / 24.92 MB, free: 8.723 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.9193/0.9193, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2543/0.2543, allocations: 34.25 MB / 296.1 MB, free: 0.6055 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.675e-05, allocations: 6.312 kB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001585/0.001612, allocations: 0.4989 MB / 325.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005647/0.007259, allocations: 4.681 MB / 330.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.007278, allocations: 0 / 330.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.007291, allocations: 0 / 330.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.043e-06/0.007298, allocations: 0 / 330.4 MB, free: 2.504 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.006185/0.01348, allocations: 3.354 MB / 333.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.085e-05/0.01353, allocations: 0.5 kB / 333.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.01357, allocations: 0 / 333.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.1e-05/0.0136, allocations: 4 kB / 333.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.91e-05/0.01362, allocations: 3.984 kB / 333.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.093e-06/0.01363, allocations: 4 kB / 333.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02043/0.03405, allocations: 19.5 MB / 353.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.03407, allocations: 0 / 353.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.03408, allocations: 4 kB / 353.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03277/0.06685, allocations: 30.74 MB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.06686, allocations: 0 / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.06686, allocations: 0 / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.06686, allocations: 0 / 384 MB, free: 12.8 MB / 362.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.006717/0.07358, allocations: 0.5815 MB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.07362, allocations: 15.97 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.07365, allocations: 8.938 kB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.228e-05/0.0737, allocations: 105.4 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.07371, allocations: 4 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.07372, allocations: 0 / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.335e-05/0.07378, allocations: 59.39 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-06/0.07378, allocations: 0 / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.07379, allocations: 3.984 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.0738, allocations: 0 / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.211e-05/0.07381, allocations: 25.7 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.595e-05/0.07386, allocations: 61.05 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/0.07391, allocations: 48.22 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.07392, allocations: 38.59 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-06/0.07392, allocations: 3.984 kB / 385 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.07395, allocations: 56.27 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.07395, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001065/0.07406, allocations: 118.8 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.07409, allocations: 77.11 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.915e-05/0.07412, allocations: 93.84 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.07413, allocations: 25.7 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.77e-05/0.07414, allocations: 84.14 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.07416, allocations: 12.41 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/0.07418, allocations: 9.719 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.892e-05/0.07425, allocations: 314.8 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.07426, allocations: 25.7 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-06/0.07427, allocations: 25.7 kB / 385.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.666e-05/0.0743, allocations: 64.25 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.07431, allocations: 0 / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.282e-05/0.07435, allocations: 92.98 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.07438, allocations: 33.7 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.07438, allocations: 4.094 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.0744, allocations: 0 / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.196e-06/0.0744, allocations: 0 / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.0744, allocations: 7.984 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.07442, allocations: 0 / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.07442, allocations: 0 / 386 MB, free: 10.57 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 5.503e-05/0.07448, allocations: 139.5 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-06/0.07448, allocations: 3.938 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.237e-06/0.07449, allocations: 3.719 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.07449, allocations: 0 / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.07449, allocations: 0 / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.07449, allocations: 4 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.811e-05/0.07453, allocations: 65.89 kB / 386.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-07/0.07453, allocations: 0 / 386.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-07/0.07453, allocations: 0 / 386.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.6e-07/0.07453, allocations: 0 / 386.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.07454, allocations: 3.938 kB / 386.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.07454, allocations: 4 kB / 386.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.9e-07/0.07454, allocations: 0 / 386.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.212e-05/0.07459, allocations: 112.5 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-06/0.07459, allocations: 0 / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.07461, allocations: 11.97 kB / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.098e-06/0.07461, allocations: 0 / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-06/0.07462, allocations: 0 / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.07462, allocations: 4 kB / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.762e-06/0.07463, allocations: 8.844 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07463, allocations: 0 / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.009041/0.08367, allocations: 3.791 MB / 390.1 MB, free: 6.363 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.01206/0.09572, allocations: 1.058 MB / 391.2 MB, free: 5.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.09583, allocations: 123.6 kB / 391.3 MB, free: 5.191 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.09584, allocations: 4 kB / 391.3 MB, free: 5.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.376e-05/0.09587, allocations: 85.95 kB / 391.4 MB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.188e-05/0.09592, allocations: 4 kB / 391.4 MB, free: 5.078 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001648/0.09609, allocations: 108.5 kB / 391.5 MB, free: 4.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.642e-05/0.09612, allocations: 51.36 kB / 391.6 MB, free: 4.867 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.302e-06/0.09612, allocations: 3.984 kB / 391.6 MB, free: 4.863 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.09616, allocations: 59.36 kB / 391.6 MB, free: 4.805 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.09616, allocations: 0 / 391.6 MB, free: 4.805 MB / 362.7 MB Notification: Performance of Templates: time 0.2815/0.3777, allocations: 110.6 MB / 0.4904 GB, free: 31.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 176.94673754135147]