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.00159/0.00159, 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.001811/0.001811, 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 1.039/1.039, 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.1371/0.1371, 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.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.934e-06/1.934e-06, allocations: 0 / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.493e-05, allocations: 2.312 kB / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001005/0.00103, allocations: 0.5297 MB / 348.2 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.002337, allocations: 1.541 MB / 349.7 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.002357, allocations: 0 / 349.7 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.002376, allocations: 0 / 349.7 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.151e-06/0.002382, allocations: 0 / 349.7 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007473/0.00313, allocations: 251.2 kB / 350 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.246e-05/0.003182, allocations: 4 kB / 350 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.003215, allocations: 7.984 kB / 350 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.544e-05/0.003241, allocations: 0 / 350 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.703e-05/0.003258, allocations: 0 / 350 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.164e-06/0.003265, allocations: 0 / 350 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005681/0.003833, allocations: 0.6829 MB / 350.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.003842, allocations: 4 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.003859, allocations: 0 / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.004333, allocations: 0.7408 MB / 351.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004335, allocations: 0 / 351.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004336, allocations: 0 / 351.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.00434, allocations: 0 / 351.4 MB, free: 5.703 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.0003143/0.004654, allocations: 393.8 kB / 351.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.004696, allocations: 12.03 kB / 351.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.004741, allocations: 0.9375 kB / 351.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.52e-05/0.004786, allocations: 116.6 kB / 351.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.004798, allocations: 384 / 351.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.004807, allocations: 4.375 kB / 351.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.923e-05/0.004896, allocations: 59.89 kB / 352 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.004904, allocations: 192 / 352 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.004914, allocations: 4.375 kB / 352 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.004922, allocations: 3.938 kB / 352 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.389e-05/0.004935, allocations: 29.7 kB / 352 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.005043, allocations: 112.6 kB / 352.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.25e-05/0.005085, allocations: 48.77 kB / 352.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.005104, allocations: 41.48 kB / 352.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-06/0.005109, allocations: 7.922 kB / 352.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.00514, allocations: 63.03 kB / 352.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.005141, allocations: 0 / 352.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000166/0.005307, allocations: 114.8 kB / 352.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.005336, allocations: 85.05 kB / 352.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.55e-05/0.005361, allocations: 146.2 kB / 352.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.005367, allocations: 29.83 kB / 352.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.285e-05/0.00538, allocations: 126.9 kB / 352.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.005397, allocations: 352 / 352.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.005418, allocations: 19.38 kB / 352.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.005473, allocations: 492.1 kB / 353.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.005487, allocations: 29.69 kB / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.637e-06/0.005496, allocations: 33.64 kB / 353.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.497e-05/0.005531, allocations: 63.09 kB / 353.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005533, allocations: 4 kB / 353.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.477e-05/0.005577, allocations: 93.11 kB / 353.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.0056, allocations: 33.7 kB / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.005605, allocations: 0 / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.005617, allocations: 0 / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.116e-06/0.00562, allocations: 0 / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.005626, allocations: 3.938 kB / 353.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.005638, allocations: 0 / 353.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.005646, allocations: 4 kB / 353.5 MB, free: 3.27 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.426e-05/0.00569, allocations: 182.2 kB / 353.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/0.005697, allocations: 8 kB / 353.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.927e-06/0.005706, allocations: 11.02 kB / 353.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.005707, allocations: 0 / 353.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.00571, allocations: 0 / 353.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.005713, allocations: 3.938 kB / 353.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.652e-05/0.00575, allocations: 108.6 kB / 353.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.00575, allocations: 0 / 353.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.005751, allocations: 0 / 353.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.005752, allocations: 0 / 353.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.005757, allocations: 0 / 353.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005758, allocations: 0 / 353.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.005759, allocations: 0 / 353.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.414e-05/0.005813, allocations: 135.8 kB / 354 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-06/0.005817, allocations: 11.94 kB / 354 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.00583, allocations: 0 / 354 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-06/0.005834, allocations: 3.984 kB / 354 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.005847, allocations: 3.938 kB / 354 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.00585, allocations: 4 kB / 354 MB, free: 2.719 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.351e-05/0.005863, allocations: 123.1 kB / 354.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005863, allocations: 0 / 354.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002756/0.006139, allocations: 115.9 kB / 354.2 MB, free: 2.484 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.0005095/0.006648, allocations: 179 kB / 354.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.403e-05/0.006733, allocations: 118.5 kB / 354.5 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.006735, allocations: 0 / 354.5 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-05/0.006751, allocations: 100.8 kB / 354.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.277e-05/0.006844, allocations: 0 / 354.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001721/0.007016, allocations: 109.7 kB / 354.7 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.217e-05/0.007038, allocations: 55.36 kB / 354.8 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.853e-06/0.007045, allocations: 11.91 kB / 354.8 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.007061, allocations: 8.5 kB / 354.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007061, allocations: 0 / 354.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of Templates: time 0.006598/0.01366, allocations: 4.445 MB / 359.2 MB, free: 13.36 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] [Calling os._exit(0), Time elapsed: 3.5339187406934798]