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.001533/0.001533, allocations: 104.3 kB / 16.64 MB, free: 6.82 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.001756/0.001756, allocations: 194.5 kB / 17.56 MB, free: 5.945 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.35/1.35, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.1965/0.1965, allocations: 43.51 MB / 314.3 MB, free: 0.7148 MB / 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.001704/0.001704, allocations: 73.47 kB / 382.9 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0951/0.09682, allocations: 57.8 MB / 440.7 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001758/0.09862, allocations: 0.5544 MB / 441.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1003, allocations: 1.543 MB / 442.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.408e-05/0.1003, allocations: 0 / 442.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.1004, allocations: 0 / 442.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.352e-06/0.1004, allocations: 0 / 442.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008348/0.1012, allocations: 211.2 kB / 443 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.104e-05/0.1013, allocations: 7.938 kB / 443 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.1013, allocations: 0 / 443 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.1014, allocations: 4 kB / 443 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.638e-05/0.1014, allocations: 3.984 kB / 443 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.532e-06/0.1014, allocations: 0 / 443 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007503/0.1021, allocations: 0.6947 MB / 443.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.913e-06/0.1022, allocations: 0 / 443.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.1022, allocations: 4 kB / 443.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.1025, allocations: 451.3 kB / 444.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1026, allocations: 4 kB / 444.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1026, allocations: 0 / 444.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1026, allocations: 4 kB / 444.1 MB, free: 3.895 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.000411/0.103, allocations: 361.2 kB / 444.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.103, allocations: 15.89 kB / 444.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.1031, allocations: 4.844 kB / 444.5 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.059e-05/0.1031, allocations: 164.4 kB / 444.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1031, allocations: 384 / 444.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.1032, allocations: 384 / 444.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.936e-05/0.1032, allocations: 38.02 kB / 444.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.1032, allocations: 4 kB / 444.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.1033, allocations: 0 / 444.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1033, allocations: 0 / 444.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.667e-05/0.1033, allocations: 4 kB / 444.7 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.414e-05/0.1034, allocations: 149.6 kB / 444.8 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.121e-05/0.1034, allocations: 14.58 kB / 444.9 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.153e-05/0.1034, allocations: 8.953 kB / 444.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-06/0.1034, allocations: 0 / 444.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.1035, allocations: 68.2 kB / 444.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1035, allocations: 0 / 444.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001384/0.1036, allocations: 71.31 kB / 445 MB, free: 2.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.1037, allocations: 77.11 kB / 445.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.104e-05/0.1037, allocations: 89.86 kB / 445.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.1037, allocations: 25.7 kB / 445.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.729e-06/0.1037, allocations: 80.14 kB / 445.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.1037, allocations: 4.281 kB / 445.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.1038, allocations: 17.84 kB / 445.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.318e-05/0.1038, allocations: 314.8 kB / 445.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.1038, allocations: 4 kB / 445.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-06/0.1038, allocations: 0 / 445.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.276e-05/0.1039, allocations: 64.25 kB / 445.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1039, allocations: 0 / 445.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.018e-05/0.1039, allocations: 63.34 kB / 445.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.104, allocations: 45.67 kB / 445.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.104, allocations: 0 / 445.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.104, allocations: 0 / 445.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.104, allocations: 0 / 445.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.104, allocations: 0 / 445.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.304e-05/0.104, allocations: 3.938 kB / 445.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.104, allocations: 7.984 kB / 445.8 MB, free: 1.957 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 4.489e-05/0.1041, allocations: 139.4 kB / 445.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-06/0.1041, allocations: 7.922 kB / 445.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.434e-06/0.1041, allocations: 7.125 kB / 445.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1041, allocations: 4 kB / 445.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1041, allocations: 0 / 445.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1041, allocations: 0 / 445.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.778e-05/0.1042, allocations: 149.7 kB / 446.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1042, allocations: 0 / 446.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.1042, allocations: 0 / 446.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1042, allocations: 7.938 kB / 446.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1042, allocations: 0 / 446.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1042, allocations: 4 kB / 446.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1042, allocations: 0 / 446.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.39e-05/0.1043, allocations: 98.77 kB / 446.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.405e-05/0.1043, allocations: 77.11 kB / 446.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.1043, allocations: 3.938 kB / 446.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-06/0.1043, allocations: 0 / 446.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.1044, allocations: 0 / 446.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.1044, allocations: 4 kB / 446.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.123e-05/0.1044, allocations: 75.28 kB / 446.4 MB, free: 1.281 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1044, allocations: 4.031 kB / 446.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003961/0.1048, allocations: 116 kB / 446.5 MB, free: 1.164 MB / 318.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.0007053/0.1055, allocations: 173.7 kB / 446.6 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.701e-05/0.1056, allocations: 59.39 kB / 446.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1056, allocations: 7.938 kB / 446.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.945e-05/0.1056, allocations: 55.34 kB / 446.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.1058, allocations: 4 kB / 446.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001527/0.1059, allocations: 102.8 kB / 446.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.722e-05/0.106, allocations: 0.6767 MB / 447.5 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.277e-06/0.106, allocations: 7.438 kB / 447.5 MB, free: 4 kB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.106, allocations: 4.125 kB / 447.6 MB, free: 0 / 318.1 MB Notification: Performance of Templates: time 0.004825/0.1109, allocations: 2.689 MB / 450.2 MB, free: 13.31 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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1)