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.001081/0.001081, allocations: 113.5 kB / 17.09 MB, free: 5.789 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.001106/0.001106, allocations: 198.9 kB / 18.02 MB, free: 4.91 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.492/1.492, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2244/0.2244, allocations: 43.53 MB / 314.8 MB, free: 452 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.001509/0.001509, allocations: 71.89 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1247, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.00182/0.1265, allocations: 494.9 kB / 0.489 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.1289, allocations: 1.551 MB / 0.4905 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.1289, allocations: 0 / 0.4905 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.129, allocations: 0 / 0.4905 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.151e-06/0.129, allocations: 0 / 0.4905 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1301, allocations: 227.4 kB / 0.4907 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.782e-05/0.1301, allocations: 4 kB / 0.4907 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.1302, allocations: 8 kB / 0.4908 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.844e-05/0.1302, allocations: 0 / 0.4908 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.703e-05/0.1302, allocations: 0 / 0.4908 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.592e-06/0.1302, allocations: 0 / 0.4908 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.1313, allocations: 0.7025 MB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.1314, allocations: 0 / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.1314, allocations: 8 kB / 0.4914 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008549/0.1323, allocations: 0.6434 MB / 0.4921 GB, free: 8.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1323, allocations: 0 / 0.4921 GB, free: 8.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1323, allocations: 0 / 0.4921 GB, free: 8.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1323, allocations: 0 / 0.4921 GB, free: 8.152 MB / 382.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.0006056/0.1329, allocations: 369.3 kB / 0.4924 GB, free: 7.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.133, allocations: 15.83 kB / 0.4924 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.133, allocations: 0.9375 kB / 0.4924 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.578e-05/0.1331, allocations: 164.4 kB / 0.4926 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1331, allocations: 384 / 0.4926 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.1331, allocations: 4.375 kB / 0.4926 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.987e-05/0.1332, allocations: 34 kB / 0.4926 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1333, allocations: 0 / 0.4926 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1333, allocations: 4 kB / 0.4926 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1333, allocations: 3.938 kB / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.833e-05/0.1333, allocations: 4 kB / 0.4927 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.1334, allocations: 149.6 kB / 0.4928 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.138e-05/0.1335, allocations: 18.61 kB / 0.4928 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.1335, allocations: 8.844 kB / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.1335, allocations: 0 / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.1336, allocations: 64.2 kB / 0.4929 GB, free: 7.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1336, allocations: 0 / 0.4929 GB, free: 7.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001871/0.1338, allocations: 67.41 kB / 0.4929 GB, free: 7.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.1338, allocations: 81.09 kB / 0.493 GB, free: 6.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.187e-05/0.1339, allocations: 89.86 kB / 0.4931 GB, free: 6.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.1339, allocations: 29.7 kB / 0.4931 GB, free: 6.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.1339, allocations: 84.12 kB / 0.4932 GB, free: 6.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.134, allocations: 3.938 kB / 0.4932 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.134, allocations: 17.78 kB / 0.4932 GB, free: 6.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1341, allocations: 318.8 kB / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.1341, allocations: 0 / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.149e-06/0.1341, allocations: 0 / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/0.1342, allocations: 64.27 kB / 0.4936 GB, free: 6.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1342, allocations: 3.938 kB / 0.4936 GB, free: 6.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.822e-05/0.1343, allocations: 63.39 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.1343, allocations: 29.7 kB / 0.4937 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1343, allocations: 8.031 kB / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1344, allocations: 0 / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.123e-06/0.1344, allocations: 0 / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1344, allocations: 0 / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.1344, allocations: 4 kB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1344, allocations: 4 kB / 0.4937 GB, free: 6.207 MB / 382.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.91e-05/0.1345, allocations: 143.5 kB / 0.4938 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.1345, allocations: 4 kB / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466e-05/0.1345, allocations: 7.062 kB / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1346, allocations: 4 kB / 0.4939 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1346, allocations: 0 / 0.4939 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.1346, allocations: 77.11 kB / 0.4939 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1346, allocations: 3.938 kB / 0.4939 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.1346, allocations: 4 kB / 0.4939 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.1346, allocations: 0 / 0.4939 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000124/0.1348, allocations: 198 kB / 0.4941 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001404/0.1349, allocations: 244.5 kB / 0.4944 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.769e-05/0.135, allocations: 0 / 0.4944 GB, free: 5.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.557e-05/0.135, allocations: 75.28 kB / 0.4944 GB, free: 5.375 MB / 382.1 MB Notification: Performance of Backend: time 3.1e-07/0.135, allocations: 0 / 0.4944 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.1361, allocations: 212 kB / 0.4946 GB, free: 5.152 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004183/0.1366, allocations: 0.5833 MB / 0.4952 GB, free: 4.508 MB / 382.1 MB Notification: Performance of Templates: time 0.007911/0.1445, allocations: 3.943 MB / 0.4991 GB, free: 0.5586 MB / 382.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)