Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 178.8 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009183/0.0009184, allocations: 94.3 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4172/0.4172, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 16 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1254, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0005903/0.1261, allocations: 228.3 kB / 490.5 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1286, allocations: 1.888 MB / 492.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.508e-05/0.1286, allocations: 4 kB / 492.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.177e-05/0.1287, allocations: 0 / 492.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.877e-06/0.1287, allocations: 3.938 kB / 492.4 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.1307, allocations: 0.5844 MB / 492.9 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.559e-05/0.1307, allocations: 4 kB / 492.9 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.517e-05/0.1308, allocations: 4 kB / 492.9 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.112e-05/0.1308, allocations: 0 / 492.9 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.247e-05/0.1309, allocations: 3.984 kB / 492.9 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-06/0.1309, allocations: 0 / 492.9 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.132, allocations: 0.6278 MB / 493.6 MB, free: 7.621 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.435e-06/0.132, allocations: 3.938 kB / 493.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.132, allocations: 25.7 kB / 493.6 MB, free: 7.586 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005102/0.1325, allocations: 403.2 kB / 494 MB, free: 7.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1326, allocations: 0 / 494 MB, free: 7.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1326, allocations: 0 / 494 MB, free: 7.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1326, allocations: 0 / 494 MB, free: 7.191 MB / 378.7 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.0004747/0.1331, allocations: 405 kB / 494.4 MB, free: 6.742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1331, allocations: 8.031 kB / 494.4 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.1331, allocations: 3.953 kB / 494.4 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1333, allocations: 163.1 kB / 494.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1333, allocations: 0 / 494.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.1333, allocations: 0 / 494.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.348e-05/0.1334, allocations: 25.7 kB / 494.6 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.1334, allocations: 7.938 kB / 494.6 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.1334, allocations: 0 / 494.6 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1334, allocations: 7.969 kB / 494.6 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.098e-05/0.1335, allocations: 11.89 kB / 494.6 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.1337, allocations: 145.7 kB / 494.8 MB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.124e-05/0.1337, allocations: 18.61 kB / 494.8 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.1337, allocations: 4.859 kB / 494.8 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-06/0.1337, allocations: 0 / 494.8 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.1338, allocations: 60.33 kB / 494.8 MB, free: 6.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.1338, allocations: 4 kB / 494.8 MB, free: 6.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001896/0.134, allocations: 67.33 kB / 494.9 MB, free: 6.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.1341, allocations: 85.05 kB / 495 MB, free: 5.988 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.17e-05/0.1341, allocations: 89.86 kB / 495.1 MB, free: 5.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.1341, allocations: 25.7 kB / 495.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.1342, allocations: 80.14 kB / 495.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.1342, allocations: 0 / 495.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.1342, allocations: 0 / 495.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1344, allocations: 326.9 kB / 495.5 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-06/0.1344, allocations: 4 kB / 495.5 MB, free: 5.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-06/0.1344, allocations: 0 / 495.5 MB, free: 5.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.671e-05/0.1344, allocations: 25.7 kB / 495.5 MB, free: 5.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1344, allocations: 0 / 495.5 MB, free: 5.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.402e-05/0.1345, allocations: 63.34 kB / 495.6 MB, free: 5.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.1345, allocations: 29.7 kB / 495.6 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1346, allocations: 3.984 kB / 495.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1346, allocations: 4 kB / 495.6 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.1346, allocations: 4.094 kB / 495.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1346, allocations: 0 / 495.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.433e-05/0.1346, allocations: 0 / 495.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1346, allocations: 0 / 495.6 MB, free: 5.293 MB / 378.7 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.0001139/0.1348, allocations: 151.5 kB / 495.8 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-06/0.1348, allocations: 0 / 495.8 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.148e-05/0.1348, allocations: 3.125 kB / 495.8 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1348, allocations: 0 / 495.8 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1348, allocations: 4 kB / 495.8 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1348, allocations: 0 / 495.8 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.1349, allocations: 161.6 kB / 495.9 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1349, allocations: 0 / 495.9 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1349, allocations: 0 / 495.9 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.135, allocations: 0 / 495.9 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.135, allocations: 0 / 495.9 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.135, allocations: 3.984 kB / 496 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.135, allocations: 4 kB / 496 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.595e-05/0.1351, allocations: 98.72 kB / 496.1 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.1351, allocations: 77.11 kB / 496.1 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.1352, allocations: 4 kB / 496.1 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.011e-05/0.1352, allocations: 0 / 496.1 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.1352, allocations: 0 / 496.1 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1352, allocations: 3.984 kB / 496.1 MB, free: 4.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.95e-05/0.1352, allocations: 79.31 kB / 496.2 MB, free: 4.605 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1353, allocations: 0 / 496.2 MB, free: 4.605 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005011/0.1358, allocations: 136 kB / 496.3 MB, free: 4.473 MB / 378.7 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.0006931/0.1365, allocations: 254.1 kB / 496.6 MB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.1366, allocations: 59.41 kB / 496.7 MB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.1366, allocations: 0 / 496.7 MB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.78e-05/0.1366, allocations: 63.33 kB / 496.7 MB, free: 4.078 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.1368, allocations: 3.953 kB / 496.7 MB, free: 4.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.137, allocations: 108.4 kB / 496.8 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1373, allocations: 0.6771 MB / 497.5 MB, free: 3.234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.209e-05/0.1373, allocations: 11.44 kB / 497.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1373, allocations: 0 / 497.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of Templates: time 0.005517/0.1429, allocations: 3.097 MB / 0.4889 GB, free: 128 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestVectors.pipe 2>&1)