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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 109.2 kB / 17.04 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2016/0.2016, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 66.47 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.114, allocations: 57.79 MB / 442 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001643/0.1157, allocations: 494.6 kB / 442.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.1179, allocations: 2.13 MB / 444.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.1179, allocations: 4 kB / 444.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.118, allocations: 0 / 444.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.118, allocations: 0 / 444.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.1195, allocations: 0.7242 MB / 445.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.111e-05/0.1196, allocations: 4 kB / 445.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.1196, allocations: 0 / 445.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.1197, allocations: 0 / 445.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.775e-05/0.1197, allocations: 0 / 445.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-06/0.1197, allocations: 0 / 445.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.1212, allocations: 1.51 MB / 446.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-06/0.1212, allocations: 0 / 446.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.1212, allocations: 4 kB / 446.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.1224, allocations: 1.548 MB / 448.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1224, allocations: 0 / 448.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1224, allocations: 0 / 448.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1224, allocations: 0 / 448.4 MB, free: 15.75 MB / 334.1 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.0005482/0.123, allocations: 421.2 kB / 448.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.123, allocations: 15.89 kB / 448.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.123, allocations: 0.9375 kB / 448.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1231, allocations: 164.3 kB / 449 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1232, allocations: 384 / 449 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.1232, allocations: 4.125 kB / 449 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.4e-05/0.1233, allocations: 37.69 kB / 449 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.1233, allocations: 3.938 kB / 449 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1233, allocations: 0 / 449 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1233, allocations: 8 kB / 449 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.1233, allocations: 0 / 449 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.1235, allocations: 145.7 kB / 449.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.807e-05/0.1235, allocations: 14.58 kB / 449.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.1235, allocations: 8.797 kB / 449.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.1235, allocations: 4.094 kB / 449.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.1236, allocations: 64.25 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 2.635e-06/0.1236, allocations: 4 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001718/0.1238, allocations: 63.34 kB / 449.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.1238, allocations: 77.11 kB / 449.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.03e-05/0.1239, allocations: 89.86 kB / 449.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1239, allocations: 25.7 kB / 449.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.124, allocations: 84.08 kB / 449.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.124, allocations: 0 / 449.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.124, allocations: 21.7 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1241, allocations: 315 kB / 449.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-06/0.1242, allocations: 0 / 449.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-06/0.1242, allocations: 4 kB / 449.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.181e-05/0.1242, allocations: 60.2 kB / 450 MB, free: 13.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1242, allocations: 4 kB / 450 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.775e-05/0.1243, allocations: 67.33 kB / 450 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.1244, allocations: 34.95 kB / 450.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1244, allocations: 0 / 450.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1244, allocations: 4.094 kB / 450.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.1244, allocations: 0 / 450.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1244, allocations: 0 / 450.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.392e-05/0.1244, allocations: 3.938 kB / 450.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1244, allocations: 0 / 450.1 MB, free: 13.77 MB / 334.1 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 8.342e-05/0.1245, allocations: 140.6 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.1245, allocations: 7.922 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.168e-05/0.1246, allocations: 7.109 kB / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.1246, allocations: 0 / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1246, allocations: 8 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1246, allocations: 0 / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.181e-05/0.1247, allocations: 141.7 kB / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1247, allocations: 3.938 kB / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1247, allocations: 0 / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1247, allocations: 0 / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.1247, allocations: 11.92 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.1247, allocations: 0 / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1247, allocations: 0 / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.926e-05/0.1248, allocations: 90.84 kB / 450.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.1249, allocations: 89.03 kB / 450.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.1249, allocations: 0 / 450.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-06/0.1249, allocations: 0 / 450.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.1249, allocations: 4 kB / 450.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.1249, allocations: 0 / 450.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.64e-05/0.1249, allocations: 79.28 kB / 450.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.125, allocations: 0 / 450.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006907/0.1256, allocations: 268 kB / 450.9 MB, free: 12.82 MB / 334.1 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.001173/0.1268, allocations: 423.7 kB / 451.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.331e-05/0.1269, allocations: 71.33 kB / 451.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1269, allocations: 0 / 451.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.549e-05/0.127, allocations: 55.41 kB / 451.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.1271, allocations: 3.938 kB / 451.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001684/0.1273, allocations: 72.98 kB / 451.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.1275, allocations: 0.6729 MB / 452.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.29e-06/0.1275, allocations: 4.125 kB / 452.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.347e-05/0.1275, allocations: 11.44 kB / 452.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1275, allocations: 0 / 452.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of Templates: time 0.01269/0.1402, allocations: 7.303 MB / 459.5 MB, free: 4.145 MB / 334.1 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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)