Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.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.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 175.4 kB / 16.58 MB, free: 6.844 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.814/1.814, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4262/0.4262, allocations: 43.57 MB / 314.6 MB, free: 8.988 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.0007706/0.0007707, allocations: 12 kB / 383.9 MB, free: 8.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1414, allocations: 58.86 MB / 442.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0006272/0.142, allocations: 232.4 kB / 443 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.1446, allocations: 1.9 MB / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.536e-05/0.1447, allocations: 0 / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.092e-05/0.1447, allocations: 0 / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.472e-06/0.1447, allocations: 0 / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.1464, allocations: 0.5845 MB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.968e-05/0.1464, allocations: 4 kB / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.1465, allocations: 0 / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.613e-05/0.1465, allocations: 3.938 kB / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.802e-05/0.1465, allocations: 4 kB / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.999e-06/0.1465, allocations: 0 / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009493/0.1475, allocations: 0.6239 MB / 446.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.561e-06/0.1475, allocations: 0 / 446.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.1476, allocations: 25.7 kB / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004607/0.148, allocations: 403.2 kB / 446.6 MB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.148, allocations: 11.88 kB / 446.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.148, allocations: 0 / 446.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1481, allocations: 4 kB / 446.6 MB, free: 9.457 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.0004399/0.1485, allocations: 397 kB / 447 MB, free: 9.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1486, allocations: 12.03 kB / 447 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.1486, allocations: 3.953 kB / 447 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.1487, allocations: 163 kB / 447.2 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1487, allocations: 3.984 kB / 447.2 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.1487, allocations: 0 / 447.2 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.799e-05/0.1488, allocations: 29.7 kB / 447.2 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1489, allocations: 3.984 kB / 447.2 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1489, allocations: 4 kB / 447.2 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1489, allocations: 0 / 447.2 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.1489, allocations: 7.953 kB / 447.2 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.1491, allocations: 145.7 kB / 447.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.146e-05/0.1491, allocations: 18.52 kB / 447.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/0.1491, allocations: 8.953 kB / 447.4 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-06/0.1491, allocations: 0 / 447.4 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.487e-05/0.1492, allocations: 64.25 kB / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1492, allocations: 0 / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001818/0.1494, allocations: 63.41 kB / 447.5 MB, free: 8.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1495, allocations: 77.11 kB / 447.6 MB, free: 8.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.928e-05/0.1495, allocations: 93.8 kB / 447.7 MB, free: 8.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1495, allocations: 29.64 kB / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.1496, allocations: 80.14 kB / 447.8 MB, free: 8.051 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.1496, allocations: 4 kB / 447.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.1496, allocations: 4.125 kB / 447.8 MB, free: 8.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1497, allocations: 322.8 kB / 448.1 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-06/0.1498, allocations: 0 / 448.1 MB, free: 7.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-06/0.1498, allocations: 0 / 448.1 MB, free: 7.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.745e-05/0.1498, allocations: 29.7 kB / 448.1 MB, free: 7.684 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1498, allocations: 0 / 448.1 MB, free: 7.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.317e-05/0.1499, allocations: 55.41 kB / 448.2 MB, free: 7.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.1499, allocations: 37.69 kB / 448.2 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1499, allocations: 96 / 448.2 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.15, allocations: 4 kB / 448.2 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.15, allocations: 0 / 448.2 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.15, allocations: 0 / 448.2 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.15, allocations: 0 / 448.2 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.15, allocations: 4 kB / 448.2 MB, free: 7.566 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.1501, allocations: 147.7 kB / 448.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/0.1501, allocations: 0 / 448.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.172e-05/0.1502, allocations: 11.06 kB / 448.4 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1502, allocations: 0 / 448.4 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1502, allocations: 4 kB / 448.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1502, allocations: 0 / 448.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.1503, allocations: 149.6 kB / 448.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1503, allocations: 0 / 448.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1503, allocations: 0 / 448.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.1503, allocations: 4 kB / 448.5 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.1503, allocations: 0 / 448.5 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1503, allocations: 4 kB / 448.5 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1503, allocations: 0 / 448.5 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.032e-05/0.1504, allocations: 98.81 kB / 448.6 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.1505, allocations: 81.05 kB / 448.7 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.1505, allocations: 0 / 448.7 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-06/0.1505, allocations: 0 / 448.7 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.1506, allocations: 3.984 kB / 448.7 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.1506, allocations: 7.938 kB / 448.7 MB, free: 6.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.592e-05/0.1506, allocations: 83.22 kB / 448.8 MB, free: 6.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1506, allocations: 0 / 448.8 MB, free: 6.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004321/0.151, allocations: 132 kB / 448.9 MB, free: 6.746 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007001/0.1518, allocations: 258.9 kB / 449.2 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.1519, allocations: 55.41 kB / 449.2 MB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1519, allocations: 0 / 449.2 MB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.354e-05/0.1519, allocations: 59.39 kB / 449.3 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.1521, allocations: 3.953 kB / 449.3 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002302/0.1523, allocations: 82.89 kB / 449.4 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1527, allocations: 0.6769 MB / 450.1 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.947e-06/0.1527, allocations: 0 / 450.1 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.1527, allocations: 15.38 kB / 450.1 MB, free: 5.523 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1527, allocations: 3.938 kB / 450.1 MB, free: 5.52 MB / 382.1 MB Notification: Performance of Templates: time 0.007064/0.1598, allocations: 3.811 MB / 453.9 MB, free: 1.703 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1)