Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001633/0.001633, allocations: 95.31 kB / 20.43 MB, free: 4.133 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.001467/0.001467, allocations: 165 kB / 23.8 MB, free: 0.7656 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.07/1.07, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1451/0.1451, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.31e-07/8.31e-07, allocations: 0 / 347.6 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.111e-05, allocations: 10.25 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0009303/0.0009514, allocations: 0.515 MB / 348.2 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.002765, allocations: 2.11 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.357e-06/0.002775, allocations: 0 / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.063e-06/0.002782, allocations: 0 / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.535e-06/0.002784, allocations: 0 / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009888/0.003773, allocations: 0.7556 MB / 351 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 2.573e-05/0.003799, allocations: 4 kB / 351 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.773e-05/0.003817, allocations: 4 kB / 351 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.314e-05/0.00383, allocations: 0 / 351 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.596e-06/0.003838, allocations: 0 / 351 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.107e-06/0.003842, allocations: 0 / 351 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.00503, allocations: 1.552 MB / 352.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-06/0.005036, allocations: 0 / 352.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.39e-05/0.00505, allocations: 3.938 kB / 352.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.006207, allocations: 1.863 MB / 354.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.00621, allocations: 4 kB / 354.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006211, allocations: 0 / 354.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.006215, allocations: 0 / 354.5 MB, free: 2.613 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.0003467/0.006562, allocations: 457.4 kB / 354.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.006589, allocations: 12.03 kB / 354.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.006615, allocations: 0.9375 kB / 354.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.039e-05/0.006646, allocations: 108.6 kB / 355 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.006653, allocations: 384 / 355 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.00666, allocations: 8.312 kB / 355 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.816e-05/0.006719, allocations: 59.91 kB / 355.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.006725, allocations: 3.938 kB / 355.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.006732, allocations: 7.984 kB / 355.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.006736, allocations: 0 / 355.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.098e-05/0.006747, allocations: 25.7 kB / 355.1 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.714e-05/0.006804, allocations: 116.6 kB / 355.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.736e-05/0.006832, allocations: 48.77 kB / 355.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.006846, allocations: 41.48 kB / 355.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-06/0.00685, allocations: 3.938 kB / 355.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.00687, allocations: 63.09 kB / 355.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.51e-07/0.00687, allocations: 4 kB / 355.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001162/0.006987, allocations: 122.7 kB / 355.5 MB, free: 1.363 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.007009, allocations: 81.11 kB / 355.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.013e-05/0.007029, allocations: 142.2 kB / 355.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/0.007034, allocations: 25.7 kB / 355.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.211e-05/0.007046, allocations: 126.9 kB / 355.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.00706, allocations: 4.297 kB / 355.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.007076, allocations: 19.38 kB / 355.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.175e-05/0.007118, allocations: 496.1 kB / 356.4 MB, free: 436 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-06/0.007128, allocations: 29.69 kB / 356.4 MB, free: 400 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/0.007138, allocations: 37.77 kB / 356.5 MB, free: 356 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.524e-05/0.007163, allocations: 59.09 kB / 356.5 MB, free: 280 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.007164, allocations: 0 / 356.5 MB, free: 280 kB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.213e-05/0.007196, allocations: 93.09 kB / 356.6 MB, free: 168 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.007214, allocations: 33.7 kB / 356.7 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.007218, allocations: 0 / 356.7 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.007228, allocations: 3.938 kB / 356.7 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.557e-06/0.007231, allocations: 0 / 356.7 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.007236, allocations: 0 / 356.7 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.719e-06/0.007246, allocations: 4.094 kB / 356.7 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.007251, allocations: 4 kB / 356.7 MB, free: 116 kB / 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 7.981e-05/0.007331, allocations: 186.2 kB / 356.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-06/0.007337, allocations: 4 kB / 356.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.437e-06/0.007346, allocations: 6.984 kB / 356.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.007349, allocations: 3.938 kB / 356.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.007352, allocations: 3.938 kB / 356.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.007355, allocations: 0 / 356.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.482e-05/0.007409, allocations: 104.6 kB / 357 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.00741, allocations: 4 kB / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-07/0.00741, allocations: 4 kB / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.007412, allocations: 0 / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.007417, allocations: 0 / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007418, allocations: 0 / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.00742, allocations: 3.938 kB / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.924e-05/0.007499, allocations: 131.8 kB / 357.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-06/0.007504, allocations: 4 kB / 357.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.619e-06/0.007514, allocations: 0 / 357.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.00752, allocations: 3.984 kB / 357.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.007532, allocations: 3.938 kB / 357.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.007535, allocations: 7.938 kB / 357.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.209e-05/0.007567, allocations: 123.2 kB / 357.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007567, allocations: 0 / 357.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005894/0.008156, allocations: 291.6 kB / 357.5 MB, free: 15.16 MB / 298.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.001055/0.009211, allocations: 0.5078 MB / 358 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.31e-05/0.009304, allocations: 122.5 kB / 358.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.009306, allocations: 7.938 kB / 358.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/0.009341, allocations: 84.8 kB / 358.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.67e-05/0.009428, allocations: 10.44 kB / 358.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001585/0.009586, allocations: 117.7 kB / 358.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.062e-05/0.009617, allocations: 55.36 kB / 358.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.931e-06/0.009623, allocations: 3.984 kB / 358.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.009636, allocations: 16.44 kB / 358.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009636, allocations: 0 / 358.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of Templates: time 0.01346/0.02309, allocations: 9.717 MB / 368.2 MB, free: 4.414 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.029491886030883]