Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001809/0.001809, allocations: 197 kB / 16.14 MB, free: 6.652 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.522/1.522, allocations: 205.1 MB / 222 MB, free: 4.949 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4096/0.4096, allocations: 39.94 MB / 309.3 MB, free: 9.191 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 66.36 kB / 376.9 MB, free: 13.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1369, allocations: 56.88 MB / 433.8 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001793/0.1388, allocations: 0.5558 MB / 434.3 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002874/0.1417, allocations: 2.006 MB / 436.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.052e-05/0.1417, allocations: 0 / 436.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.792e-05/0.1417, allocations: 4 kB / 436.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.1417, allocations: 0 / 436.4 MB, free: 1.574 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:611:3-680:14:writable] Warning: Pure function ‘ModelicaTest.Math.Vectors‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.1434, allocations: 0.6504 MB / 437 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.359e-05/0.1435, allocations: 8 kB / 437 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.261e-05/0.1435, allocations: 0 / 437 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.442e-05/0.1435, allocations: 3.984 kB / 437 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.586e-05/0.1435, allocations: 7.938 kB / 437 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.939e-06/0.1435, allocations: 0 / 437 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009177/0.1445, allocations: 0.6356 MB / 437.7 MB, free: 272 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.875e-06/0.1445, allocations: 4 kB / 437.7 MB, free: 268 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.1445, allocations: 0 / 437.7 MB, free: 268 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.1452, allocations: 0.5691 MB / 438.2 MB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1452, allocations: 0 / 438.2 MB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1452, allocations: 0 / 438.2 MB, free: 15.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.1452, allocations: 4 kB / 438.2 MB, free: 15.69 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.0004227/0.1456, allocations: 401.2 kB / 438.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1457, allocations: 8.031 kB / 438.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.1457, allocations: 4.922 kB / 438.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.449e-05/0.1458, allocations: 160.4 kB / 438.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1458, allocations: 384 / 438.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.1458, allocations: 4.359 kB / 438.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.301e-05/0.1459, allocations: 38.02 kB / 438.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1459, allocations: 3.938 kB / 438.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.146, allocations: 4 kB / 438.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.146, allocations: 0 / 438.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.756e-05/0.146, allocations: 4 kB / 438.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.1461, allocations: 145.7 kB / 439 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.636e-05/0.1462, allocations: 14.58 kB / 439 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.1462, allocations: 12.89 kB / 439 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-06/0.1462, allocations: 0 / 439 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.1463, allocations: 68.2 kB / 439.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.1463, allocations: 0 / 439.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001577/0.1464, allocations: 67.33 kB / 439.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.1465, allocations: 77.11 kB / 439.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.88e-05/0.1465, allocations: 89.86 kB / 439.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.1465, allocations: 25.7 kB / 439.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.1466, allocations: 84.14 kB / 439.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.1466, allocations: 3.938 kB / 439.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.1466, allocations: 17.84 kB / 439.4 MB, free: 14.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.1467, allocations: 310.8 kB / 439.8 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-06/0.1467, allocations: 4 kB / 439.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-06/0.1468, allocations: 3.984 kB / 439.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.608e-05/0.1468, allocations: 64.2 kB / 439.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1468, allocations: 0 / 439.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.761e-05/0.1469, allocations: 59.41 kB / 439.9 MB, free: 13.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.1469, allocations: 37.73 kB / 439.9 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.147, allocations: 4 kB / 439.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.147, allocations: 3.984 kB / 439.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-06/0.147, allocations: 4 kB / 439.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.147, allocations: 0 / 439.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.147, allocations: 0 / 439.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.147, allocations: 4 kB / 439.9 MB, free: 13.72 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 6.803e-05/0.1471, allocations: 131.8 kB / 440.1 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-06/0.1471, allocations: 3.938 kB / 440.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.046e-05/0.1471, allocations: 11.12 kB / 440.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.1471, allocations: 0 / 440.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1471, allocations: 0 / 440.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1471, allocations: 0 / 440.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.97e-05/0.1472, allocations: 149.7 kB / 440.2 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1472, allocations: 0 / 440.2 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1472, allocations: 0 / 440.2 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1473, allocations: 7.938 kB / 440.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1473, allocations: 0 / 440.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1473, allocations: 3.938 kB / 440.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1473, allocations: 3.938 kB / 440.2 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.953e-05/0.1474, allocations: 94.83 kB / 440.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.1474, allocations: 81.05 kB / 440.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.1474, allocations: 3.938 kB / 440.4 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-06/0.1474, allocations: 0 / 440.4 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-06/0.1474, allocations: 0 / 440.4 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.1474, allocations: 4 kB / 440.4 MB, free: 13.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.415e-05/0.1475, allocations: 79.27 kB / 440.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1475, allocations: 4.031 kB / 440.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000389/0.1479, allocations: 124 kB / 440.6 MB, free: 12.93 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 (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.0006273/0.1485, allocations: 266.8 kB / 440.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.098e-05/0.1486, allocations: 59.34 kB / 440.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1486, allocations: 0 / 440.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.583e-05/0.1486, allocations: 55.41 kB / 441 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.1488, allocations: 8 kB / 441 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001583/0.1489, allocations: 82.81 kB / 441.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.1492, allocations: 0.677 MB / 441.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.979e-06/0.1492, allocations: 0 / 441.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-06/0.1492, allocations: 7.438 kB / 441.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1492, allocations: 0 / 441.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of Templates: time 0.006798/0.156, allocations: 3.756 MB / 445.5 MB, free: 7.941 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.pipe 2>&1)