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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009251/0.0009248, allocations: 107.8 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2959/0.2959, allocations: 43.49 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009633/0.0009633, allocations: 55.91 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.09624, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001476/0.09775, allocations: 0.5618 MB / 487.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.1002, allocations: 2.183 MB / 489.7 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.508e-06/0.1002, allocations: 0 / 489.7 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.193e-05/0.1003, allocations: 0 / 489.7 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.078e-06/0.1003, allocations: 0 / 489.7 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.1017, allocations: 0.6472 MB / 490.4 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.103e-05/0.1018, allocations: 0 / 490.4 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.1018, allocations: 0 / 490.4 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.724e-05/0.1019, allocations: 4 kB / 490.4 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.798e-05/0.1019, allocations: 11.92 kB / 490.4 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.469e-06/0.1019, allocations: 0 / 490.4 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.1034, allocations: 1.389 MB / 491.8 MB, free: 7.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.941e-06/0.1034, allocations: 0 / 491.8 MB, free: 7.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.1035, allocations: 0 / 491.8 MB, free: 7.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.1047, allocations: 1.54 MB / 493.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1047, allocations: 4 kB / 493.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1047, allocations: 0 / 493.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.1047, allocations: 3.938 kB / 493.3 MB, free: 6.18 MB / 378.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.0004224/0.1051, allocations: 421.2 kB / 493.8 MB, free: 5.715 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.1052, allocations: 8.031 kB / 493.8 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.1052, allocations: 4.938 kB / 493.8 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.958e-05/0.1053, allocations: 164.3 kB / 493.9 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.1053, allocations: 384 / 493.9 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.1053, allocations: 4.125 kB / 493.9 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.545e-05/0.1054, allocations: 33.7 kB / 494 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.1054, allocations: 0 / 494 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.1054, allocations: 0 / 494 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.1054, allocations: 0 / 494 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.3e-05/0.1054, allocations: 0 / 494 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.1055, allocations: 153.7 kB / 494.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.284e-05/0.1056, allocations: 18.52 kB / 494.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.342e-05/0.1056, allocations: 8.797 kB / 494.1 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-06/0.1056, allocations: 4 kB / 494.1 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1056, allocations: 60.36 kB / 494.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1056, allocations: 0 / 494.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000139/0.1058, allocations: 67.39 kB / 494.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.1058, allocations: 81.05 kB / 494.4 MB, free: 4.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.867e-05/0.1059, allocations: 89.86 kB / 494.4 MB, free: 4.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.1059, allocations: 25.7 kB / 494.5 MB, free: 4.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.292e-05/0.1059, allocations: 84.27 kB / 494.5 MB, free: 4.754 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.1059, allocations: 288 / 494.5 MB, free: 4.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.1059, allocations: 13.72 kB / 494.6 MB, free: 4.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.106, allocations: 318.8 kB / 494.9 MB, free: 4.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-06/0.106, allocations: 0 / 494.9 MB, free: 4.414 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-06/0.1061, allocations: 8 kB / 494.9 MB, free: 4.406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.726e-05/0.1061, allocations: 56.27 kB / 494.9 MB, free: 4.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1061, allocations: 0 / 494.9 MB, free: 4.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.274e-05/0.1062, allocations: 71.34 kB / 495 MB, free: 4.254 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.1062, allocations: 37.69 kB / 495 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1062, allocations: 4 kB / 495 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.1062, allocations: 0 / 495 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1062, allocations: 0 / 495 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.1062, allocations: 0 / 495 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/0.1063, allocations: 3.938 kB / 495 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1063, allocations: 0 / 495 MB, free: 4.203 MB / 378.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.261e-05/0.1063, allocations: 135.5 kB / 495.2 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.1063, allocations: 7.969 kB / 495.2 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.496e-06/0.1064, allocations: 7.062 kB / 495.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.1064, allocations: 0 / 495.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1064, allocations: 3.938 kB / 495.2 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1064, allocations: 7.984 kB / 495.2 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.748e-05/0.1065, allocations: 145.7 kB / 495.3 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1065, allocations: 3.938 kB / 495.4 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.1065, allocations: 0 / 495.4 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.1065, allocations: 0 / 495.4 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-06/0.1065, allocations: 0 / 495.4 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1065, allocations: 4 kB / 495.4 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1065, allocations: 4 kB / 495.4 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.1068, allocations: 0.6335 MB / 496 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.1068, allocations: 85.11 kB / 496.1 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.1068, allocations: 0 / 496.1 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-06/0.1068, allocations: 0 / 496.1 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-06/0.1068, allocations: 4.031 kB / 496.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.1068, allocations: 0 / 496.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.153e-05/0.1069, allocations: 75.28 kB / 496.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1069, allocations: 4 kB / 496.2 MB, free: 2.941 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007039/0.1076, allocations: 275.9 kB / 496.4 MB, free: 2.672 MB / 378.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.001077/0.1087, allocations: 422 kB / 496.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.958e-05/0.1087, allocations: 59.34 kB / 496.9 MB, free: 2.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1088, allocations: 0 / 496.9 MB, free: 2.188 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/0.1088, allocations: 59.47 kB / 497 MB, free: 2.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.1089, allocations: 7.281 kB / 497 MB, free: 2.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001721/0.1091, allocations: 177.4 kB / 497.1 MB, free: 1.902 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.1093, allocations: 0.6731 MB / 497.8 MB, free: 1.203 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.178e-06/0.1093, allocations: 0 / 497.8 MB, free: 1.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-06/0.1093, allocations: 7.438 kB / 497.8 MB, free: 1.195 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1093, allocations: 0 / 497.8 MB, free: 1.195 MB / 378.7 MB Notification: Performance of Templates: time 0.009581/0.1189, allocations: 7.43 MB / 0.4934 GB, free: 9.754 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)