Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 91.56 kB / 18 MB, free: 5.734 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.001282/0.001282, allocations: 178.2 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.3 MB / 243 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2235/0.2235, allocations: 44.26 MB / 338.3 MB, free: 2.41 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005292/0.0005293, allocations: 13.17 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0006301/0.1168, allocations: 213.3 kB / 473.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.1191, allocations: 1.51 MB / 474.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-06/0.1191, allocations: 0 / 474.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.1191, allocations: 0 / 474.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.889e-06/0.1191, allocations: 0 / 474.6 MB, free: 11.57 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices3‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008977/0.12, allocations: 195.6 kB / 474.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.828e-05/0.1201, allocations: 8 kB / 474.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.1201, allocations: 3.984 kB / 474.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.696e-05/0.1202, allocations: 0 / 474.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.845e-05/0.1202, allocations: 3.938 kB / 474.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.13e-06/0.1202, allocations: 0 / 474.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.1213, allocations: 0.6869 MB / 475.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.1213, allocations: 3.938 kB / 475.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.1214, allocations: 37.62 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006517/0.1221, allocations: 451.3 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1221, allocations: 0 / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1221, allocations: 4 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1221, allocations: 0 / 476 MB, free: 10.18 MB / 350.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.0006073/0.1227, allocations: 355.5 kB / 476.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1228, allocations: 8.031 kB / 476.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.1228, allocations: 4.938 kB / 476.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1229, allocations: 172.4 kB / 476.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1229, allocations: 384 / 476.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.123, allocations: 384 / 476.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.481e-05/0.1231, allocations: 38.02 kB / 476.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1231, allocations: 0 / 476.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1231, allocations: 0 / 476.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1231, allocations: 0 / 476.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.1231, allocations: 3.938 kB / 476.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.1233, allocations: 145.7 kB / 476.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.755e-05/0.1233, allocations: 18.56 kB / 476.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.1234, allocations: 8.859 kB / 476.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.1234, allocations: 4 kB / 476.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/0.1234, allocations: 64.3 kB / 476.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.445e-06/0.1234, allocations: 0 / 476.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001788/0.1236, allocations: 71.27 kB / 476.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.1237, allocations: 77.11 kB / 477 MB, free: 9.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.146e-05/0.1237, allocations: 89.86 kB / 477 MB, free: 8.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1238, allocations: 29.7 kB / 477.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.1238, allocations: 80.27 kB / 477.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1238, allocations: 4 kB / 477.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.1239, allocations: 13.72 kB / 477.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.124, allocations: 310.8 kB / 477.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-06/0.124, allocations: 0 / 477.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-06/0.124, allocations: 0 / 477.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.124, allocations: 60.27 kB / 477.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1241, allocations: 0 / 477.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.803e-05/0.1241, allocations: 71.39 kB / 477.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.1242, allocations: 37.67 kB / 477.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1242, allocations: 0 / 477.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1242, allocations: 4 kB / 477.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.1242, allocations: 3.938 kB / 477.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1242, allocations: 4 kB / 477.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.1243, allocations: 0 / 477.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1243, allocations: 0 / 477.7 MB, free: 8.266 MB / 350.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.208e-05/0.1244, allocations: 135.5 kB / 477.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.1244, allocations: 7.938 kB / 477.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.137e-05/0.1244, allocations: 7.125 kB / 477.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1244, allocations: 0 / 477.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1244, allocations: 0 / 477.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1244, allocations: 0 / 477.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.553e-05/0.1245, allocations: 153.7 kB / 477.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1245, allocations: 0 / 477.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.1245, allocations: 0 / 477.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1245, allocations: 3.938 kB / 478 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.1245, allocations: 0 / 478 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1245, allocations: 0 / 478 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1246, allocations: 0 / 478 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.1247, allocations: 102.7 kB / 478.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.1247, allocations: 77.11 kB / 478.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.1247, allocations: 3.938 kB / 478.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.226e-05/0.1248, allocations: 7.938 kB / 478.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.1248, allocations: 0 / 478.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1248, allocations: 0 / 478.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.045e-05/0.1248, allocations: 79.31 kB / 478.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1248, allocations: 0 / 478.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005152/0.1254, allocations: 120 kB / 478.3 MB, free: 7.473 MB / 350.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.0008866/0.1262, allocations: 181.3 kB / 478.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.606e-05/0.1263, allocations: 59.41 kB / 478.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1264, allocations: 0 / 478.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.1264, allocations: 63.33 kB / 478.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.1265, allocations: 6.609 kB / 478.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001978/0.1267, allocations: 100.5 kB / 478.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.127, allocations: 0.6692 MB / 479.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.017e-05/0.127, allocations: 11.56 kB / 479.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1271, allocations: 0 / 479.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of Templates: time 0.005284/0.1323, allocations: 2.692 MB / 482.1 MB, free: 3.613 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1)