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.0009101/0.0009101, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001228/0.001228, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.3557/0.3557, allocations: 40 MB / 310.4 MB, free: 9.688 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.0005398/0.00054, allocations: 12 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1261, allocations: 57.95 MB / 436.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0006386/0.1268, allocations: 228.4 kB / 437 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002833/0.1296, allocations: 1.888 MB / 438.9 MB, free: 172 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.936e-05/0.1297, allocations: 0 / 438.9 MB, free: 172 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.1297, allocations: 0 / 438.9 MB, free: 172 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.733e-06/0.1297, allocations: 3.938 kB / 438.9 MB, free: 168 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.1317, allocations: 0.5803 MB / 439.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.142e-05/0.1318, allocations: 0 / 439.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.1318, allocations: 0 / 439.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.861e-05/0.1318, allocations: 4 kB / 439.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.91e-05/0.1319, allocations: 0 / 439.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.811e-06/0.1319, allocations: 0 / 439.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.133, allocations: 0.5967 MB / 440.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-06/0.1331, allocations: 0 / 440.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.1331, allocations: 29.7 kB / 440.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.1338, allocations: 403.3 kB / 440.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1338, allocations: 0 / 440.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1338, allocations: 3.938 kB / 440.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1338, allocations: 0 / 440.5 MB, free: 14.55 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.0005263/0.1343, allocations: 401 kB / 440.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1344, allocations: 8.031 kB / 440.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.1344, allocations: 0 / 440.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1345, allocations: 163.1 kB / 441 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1346, allocations: 0 / 441 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1346, allocations: 8 kB / 441 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.326e-05/0.1347, allocations: 25.7 kB / 441.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1347, allocations: 3.938 kB / 441.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.1347, allocations: 3.953 kB / 441.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1347, allocations: 0 / 441.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.1347, allocations: 12 kB / 441.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.1349, allocations: 145.7 kB / 441.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.977e-05/0.1349, allocations: 18.58 kB / 441.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.135, allocations: 4.094 kB / 441.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.135, allocations: 56.27 kB / 441.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.135, allocations: 0 / 441.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001968/0.1352, allocations: 67.34 kB / 441.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.1353, allocations: 85.05 kB / 441.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.773e-05/0.1353, allocations: 89.86 kB / 441.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1354, allocations: 25.7 kB / 441.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.1354, allocations: 88.2 kB / 441.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.1354, allocations: 0 / 441.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.1354, allocations: 4 kB / 441.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1355, allocations: 314.8 kB / 442 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.1356, allocations: 4 kB / 442 MB, free: 12.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.87e-06/0.1356, allocations: 0 / 442 MB, free: 12.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.1356, allocations: 29.7 kB / 442 MB, free: 12.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1356, allocations: 0 / 442 MB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.327e-05/0.1357, allocations: 67.39 kB / 442.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.1357, allocations: 37.3 kB / 442.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1358, allocations: 0 / 442.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1358, allocations: 3.984 kB / 442.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-06/0.1358, allocations: 0 / 442.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1358, allocations: 0 / 442.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.1358, allocations: 3.953 kB / 442.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1358, allocations: 0 / 442.1 MB, free: 12.66 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.0001004/0.1359, allocations: 139.8 kB / 442.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.136, allocations: 8.016 kB / 442.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.162e-05/0.136, allocations: 3.125 kB / 442.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.136, allocations: 4 kB / 442.3 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.136, allocations: 0 / 442.3 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.136, allocations: 0 / 442.3 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.1361, allocations: 145.6 kB / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1361, allocations: 0 / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1361, allocations: 0 / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1361, allocations: 0 / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.1361, allocations: 7.984 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1362, allocations: 0 / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1362, allocations: 4 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.963e-05/0.1363, allocations: 94.77 kB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.1363, allocations: 85.03 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1363, allocations: 0 / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-06/0.1363, allocations: 0 / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.1364, allocations: 0 / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1364, allocations: 4 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.99e-05/0.1364, allocations: 83.31 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1364, allocations: 3.938 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005433/0.137, allocations: 128 kB / 442.8 MB, free: 11.86 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.000777/0.1377, allocations: 270.6 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.1379, allocations: 55.41 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1379, allocations: 0 / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.392e-05/0.1379, allocations: 59.34 kB / 443.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.776e-05/0.138, allocations: 8.078 kB / 443.2 MB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002033/0.1382, allocations: 82.75 kB / 443.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.1385, allocations: 0.6692 MB / 443.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.632e-06/0.1385, allocations: 0 / 443.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.1385, allocations: 11.44 kB / 443.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of SimCode: time 1.683e-06/0.1385, allocations: 0 / 443.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of Templates: time 0.008107/0.1467, allocations: 3.823 MB / 447.8 MB, free: 6.801 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: