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.0007959/0.0007959, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.0008265/0.0008267, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.412/1.412, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2058/0.2058, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004131, allocations: 16.8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1298, allocations: 61.92 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0006481/0.1305, allocations: 225.2 kB / 472.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.1329, allocations: 1.51 MB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.455e-05/0.133, allocations: 0 / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.133, allocations: 0 / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.133, allocations: 0 / 474 MB, free: 11.61 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.0009915/0.134, allocations: 195.6 kB / 474.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.606e-05/0.134, allocations: 0 / 474.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.1341, allocations: 4 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.622e-05/0.1341, allocations: 4 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.989e-05/0.1341, allocations: 3.984 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-06/0.1342, allocations: 0 / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.1352, allocations: 0.6908 MB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-06/0.1352, allocations: 0 / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.1353, allocations: 33.64 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007451/0.136, allocations: 0.6435 MB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.136, allocations: 0 / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.136, allocations: 0 / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1361, allocations: 4 kB / 475.5 MB, free: 10.03 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.0004309/0.1365, allocations: 361.3 kB / 475.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1365, allocations: 8.031 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.1366, allocations: 4.938 kB / 475.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1367, allocations: 164.4 kB / 476.1 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1367, allocations: 4.312 kB / 476.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.1367, allocations: 384 / 476.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.1369, allocations: 34.02 kB / 476.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1369, allocations: 7.938 kB / 476.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1369, allocations: 0 / 476.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1369, allocations: 0 / 476.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.066e-05/0.1369, allocations: 0 / 476.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.1371, allocations: 153.7 kB / 476.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.209e-05/0.1371, allocations: 18.52 kB / 476.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.1372, allocations: 4.859 kB / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.1372, allocations: 0 / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/0.1372, allocations: 72.23 kB / 476.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1372, allocations: 0 / 476.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001851/0.1374, allocations: 67.39 kB / 476.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.1375, allocations: 77.11 kB / 476.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.608e-05/0.1375, allocations: 89.86 kB / 476.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.1375, allocations: 25.7 kB / 476.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.1376, allocations: 84.12 kB / 476.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.1376, allocations: 128 / 476.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.1376, allocations: 13.72 kB / 476.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.1377, allocations: 318.8 kB / 477 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-06/0.1377, allocations: 0 / 477 MB, free: 8.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.509e-06/0.1378, allocations: 0 / 477 MB, free: 8.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.996e-05/0.1378, allocations: 68.25 kB / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1378, allocations: 0 / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.392e-05/0.1379, allocations: 59.41 kB / 477.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.1379, allocations: 33.73 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.138, allocations: 4 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.138, allocations: 0 / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.138, allocations: 0 / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.138, allocations: 0 / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.138, allocations: 4 kB / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.138, allocations: 3.938 kB / 477.2 MB, free: 8.109 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 9.151e-05/0.1381, allocations: 135.5 kB / 477.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.1381, allocations: 7.938 kB / 477.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.168e-05/0.1382, allocations: 11.12 kB / 477.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1382, allocations: 0 / 477.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1382, allocations: 4 kB / 477.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1382, allocations: 0 / 477.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.1383, allocations: 145.7 kB / 477.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1383, allocations: 4 kB / 477.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.1383, allocations: 0 / 477.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1383, allocations: 3.938 kB / 477.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.1383, allocations: 0 / 477.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1384, allocations: 0 / 477.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1384, allocations: 3.938 kB / 477.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.1385, allocations: 98.73 kB / 477.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.1386, allocations: 81.05 kB / 477.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.1386, allocations: 3.938 kB / 477.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.207e-05/0.1386, allocations: 0 / 477.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.1387, allocations: 7.938 kB / 477.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1387, allocations: 3.984 kB / 477.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.396e-05/0.1387, allocations: 75.28 kB / 477.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1387, allocations: 4.031 kB / 477.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005317/0.1393, allocations: 120 kB / 477.9 MB, free: 7.305 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.0009341/0.1402, allocations: 171.3 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.1404, allocations: 63.39 kB / 478.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1404, allocations: 0 / 478.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.903e-05/0.1404, allocations: 59.41 kB / 478.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.1406, allocations: 5.062 kB / 478.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.1409, allocations: 70.77 kB / 478.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1412, allocations: 0.6692 MB / 478.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.519e-05/0.1412, allocations: 4.109 kB / 478.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.301e-05/0.1413, allocations: 15.38 kB / 478.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1413, allocations: 0 / 478.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of Templates: time 0.009543/0.1508, allocations: 3.904 MB / 482.8 MB, free: 2.27 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)