Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.000988/0.000988, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001102/0.001102, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9766/0.9766, allocations: 177.1 MB / 205 MB, free: 5.281 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.2794/0.2794, allocations: 34.26 MB / 295.7 MB, free: 0.7031 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 378 MB, free: 2.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.518e-05, allocations: 10.31 kB / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001132/0.001158, allocations: 0.5029 MB / 378.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.003441, allocations: 2.122 MB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.003463, allocations: 0 / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.00348, allocations: 0 / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.522e-06/0.003486, allocations: 0 / 380.6 MB, free: 40 kB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.001484/0.004971, allocations: 0.7518 MB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.418e-05/0.005025, allocations: 4 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.005061, allocations: 11.97 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.684e-05/0.005088, allocations: 0 / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.697e-05/0.005105, allocations: 0 / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.005112, allocations: 0 / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.006738, allocations: 1.552 MB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.006747, allocations: 4 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.006767, allocations: 4 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.008499, allocations: 1.867 MB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.008503, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.008504, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.008512, allocations: 0 / 384.8 MB, free: 11.84 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.0006879/0.0092, allocations: 469.2 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.00924, allocations: 8.031 kB / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.00928, allocations: 4.938 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.668e-05/0.009337, allocations: 108.6 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.009349, allocations: 384 / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.009357, allocations: 384 / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.638e-05/0.009443, allocations: 63.95 kB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.009452, allocations: 3.938 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.009461, allocations: 0 / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.009466, allocations: 3.938 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.747e-05/0.009484, allocations: 29.7 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.765e-05/0.009572, allocations: 108.6 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.776e-05/0.009619, allocations: 56.78 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.145e-05/0.009641, allocations: 37.39 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-06/0.009645, allocations: 0 / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.009683, allocations: 63.16 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.009684, allocations: 4 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001826/0.009866, allocations: 126.7 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.009904, allocations: 77.11 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.36e-05/0.009948, allocations: 142.2 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/0.009956, allocations: 25.7 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.009983, allocations: 130.9 kB / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.01, allocations: 4.297 kB / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.01002, allocations: 15.38 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.01013, allocations: 0.4884 MB / 386.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.01015, allocations: 29.81 kB / 386.8 MB, free: 9.609 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.165e-05/0.01016, allocations: 29.7 kB / 386.8 MB, free: 9.574 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.0102, allocations: 67.03 kB / 386.9 MB, free: 9.492 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.0102, allocations: 0 / 386.9 MB, free: 9.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.853e-05/0.01026, allocations: 89.11 kB / 387 MB, free: 9.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.01029, allocations: 33.69 kB / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01029, allocations: 0 / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.0103, allocations: 11.88 kB / 387 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.689e-06/0.01031, allocations: 0 / 387 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01031, allocations: 0 / 387 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.31e-05/0.01033, allocations: 4.094 kB / 387 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.01033, allocations: 0 / 387 MB, free: 9.332 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 6.819e-05/0.0104, allocations: 182.3 kB / 387.2 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-06/0.01041, allocations: 0 / 387.2 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.373e-06/0.01041, allocations: 3 kB / 387.2 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01042, allocations: 11.92 kB / 387.2 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01042, allocations: 0 / 387.2 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.01042, allocations: 0 / 387.2 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.18e-05/0.01048, allocations: 104.6 kB / 387.3 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.01048, allocations: 0 / 387.3 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-07/0.01048, allocations: 4 kB / 387.3 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.01048, allocations: 3.938 kB / 387.3 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.01048, allocations: 4 kB / 387.3 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.01049, allocations: 0 / 387.3 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.01049, allocations: 7.922 kB / 387.3 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.903e-05/0.01057, allocations: 127.8 kB / 387.5 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.01057, allocations: 4 kB / 387.5 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.01059, allocations: 4 kB / 387.5 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.112e-06/0.01059, allocations: 0 / 387.5 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.01061, allocations: 7.922 kB / 387.5 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.01061, allocations: 0 / 387.5 MB, free: 8.793 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.821e-05/0.01064, allocations: 123.2 kB / 387.6 MB, free: 8.672 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01064, allocations: 0 / 387.6 MB, free: 8.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000725/0.01136, allocations: 295.6 kB / 387.9 MB, free: 8.383 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.001028/0.01239, allocations: 0.5213 MB / 388.4 MB, free: 7.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.01249, allocations: 126.4 kB / 388.5 MB, free: 7.723 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.0125, allocations: 0 / 388.5 MB, free: 7.723 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.01253, allocations: 88.8 kB / 388.6 MB, free: 7.613 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.875e-05/0.01261, allocations: 4 kB / 388.6 MB, free: 7.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.0128, allocations: 121.7 kB / 388.8 MB, free: 7.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.748e-05/0.01283, allocations: 51.36 kB / 388.8 MB, free: 7.383 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.941e-06/0.01283, allocations: 0 / 388.8 MB, free: 7.383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.317e-05/0.01285, allocations: 12.5 kB / 388.8 MB, free: 7.371 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01285, allocations: 0 / 388.8 MB, free: 7.371 MB / 362.7 MB Notification: Performance of Templates: time 0.01342/0.02626, allocations: 9.738 MB / 398.6 MB, free: 13.62 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.4832280478440225]