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.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 112.1 kB / 17.04 MB, free: 5.812 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.001074/0.001074, allocations: 195 kB / 17.98 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.394/1.394, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2117/0.2117, 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.001499/0.001499, allocations: 66.22 kB / 384.2 MB, free: 56.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1081, allocations: 57.79 MB / 442 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001752/0.1099, allocations: 0.4893 MB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1114, allocations: 1.542 MB / 444 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.1115, allocations: 0 / 444 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.1115, allocations: 0 / 444 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.091e-06/0.1115, allocations: 4 kB / 444 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007094/0.1122, allocations: 223.4 kB / 444.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.7e-05/0.1123, allocations: 11.94 kB / 444.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.1123, allocations: 0 / 444.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.417e-05/0.1124, allocations: 4 kB / 444.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.445e-05/0.1124, allocations: 0 / 444.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-06/0.1124, allocations: 4 kB / 444.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007316/0.1131, allocations: 0.6986 MB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.1131, allocations: 0 / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.1132, allocations: 4 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.1137, allocations: 0.6473 MB / 445.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1137, allocations: 0 / 445.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1137, allocations: 4 kB / 445.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1137, allocations: 0 / 445.6 MB, free: 2.535 MB / 318.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.0003383/0.1141, allocations: 365.3 kB / 445.9 MB, free: 2.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1141, allocations: 15.89 kB / 446 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.1142, allocations: 4.844 kB / 446 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.892e-05/0.1142, allocations: 160.4 kB / 446.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1143, allocations: 4.359 kB / 446.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.1143, allocations: 384 / 446.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.054e-05/0.1144, allocations: 34.02 kB / 446.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1144, allocations: 0 / 446.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.1144, allocations: 0 / 446.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1144, allocations: 4 kB / 446.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.1144, allocations: 3.938 kB / 446.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.593e-05/0.1145, allocations: 145.7 kB / 446.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.257e-05/0.1146, allocations: 22.56 kB / 446.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.1146, allocations: 8.953 kB / 446.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-06/0.1146, allocations: 0 / 446.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.1146, allocations: 60.2 kB / 446.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1146, allocations: 4 kB / 446.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001532/0.1148, allocations: 63.34 kB / 446.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.1148, allocations: 85.09 kB / 446.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.312e-05/0.1148, allocations: 89.86 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.792e-06/0.1149, allocations: 25.7 kB / 446.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.037e-05/0.1149, allocations: 84.08 kB / 446.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.1149, allocations: 4 kB / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.1149, allocations: 9.719 kB / 446.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.115, allocations: 315 kB / 447.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.115, allocations: 0 / 447.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.115, allocations: 4 kB / 447.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.115, allocations: 64.27 kB / 447.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1151, allocations: 0 / 447.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.069e-05/0.1151, allocations: 63.33 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.1151, allocations: 41.58 kB / 447.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1151, allocations: 0 / 447.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1152, allocations: 4.094 kB / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.1152, allocations: 0 / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1152, allocations: 0 / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.1152, allocations: 0 / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1152, allocations: 0 / 447.2 MB, free: 0.6133 MB / 318.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 5.642e-05/0.1153, allocations: 151.4 kB / 447.4 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.1153, allocations: 3.938 kB / 447.4 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.153e-05/0.1153, allocations: 3.125 kB / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1153, allocations: 4 kB / 447.4 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1153, allocations: 7.984 kB / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1153, allocations: 0 / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.288e-05/0.1154, allocations: 145.7 kB / 447.5 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.1154, allocations: 0 / 447.5 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1154, allocations: 0 / 447.5 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1154, allocations: 3.938 kB / 447.6 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1154, allocations: 8 kB / 447.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1154, allocations: 0 / 447.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1154, allocations: 0 / 447.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.229e-05/0.1155, allocations: 102.8 kB / 447.7 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.1155, allocations: 77.11 kB / 447.7 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.1156, allocations: 3.938 kB / 447.7 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-06/0.1156, allocations: 0 / 447.7 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.1156, allocations: 0 / 447.7 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.1156, allocations: 4 kB / 447.7 MB, free: 0 / 318.1 MB Notification: Performance of sorting global known variables: time 4.844e-05/0.1157, allocations: 75.28 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1157, allocations: 3.938 kB / 447.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003759/0.116, allocations: 124 kB / 447.9 MB, free: 15.8 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.0006512/0.1167, allocations: 166.8 kB / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.1168, allocations: 63.39 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1168, allocations: 3.938 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.1169, allocations: 63.34 kB / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.117, allocations: 4 kB / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.1172, allocations: 69.08 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.1175, allocations: 0.6729 MB / 449 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.703e-06/0.1175, allocations: 0 / 449 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.1175, allocations: 7.438 kB / 449 MB, free: 14.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1175, allocations: 0 / 449 MB, free: 14.68 MB / 334.1 MB Notification: Performance of Templates: time 0.006916/0.1245, allocations: 3.927 MB / 452.9 MB, free: 10.75 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1)