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: "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.00112, allocations: 96.28 kB / 15.69 MB, free: 480 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.001384/0.001384, allocations: 178.7 kB / 16.57 MB, free: 6.387 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.746/1.746, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.5103/0.5103, allocations: 43.54 MB / 314.5 MB, free: 9.023 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.0005737/0.0005738, allocations: 20 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.155, allocations: 58.85 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0006534/0.1557, allocations: 228.4 kB / 443.1 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002738/0.1584, allocations: 1.897 MB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.383e-05/0.1585, allocations: 3.938 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.1585, allocations: 0 / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.561e-06/0.1585, allocations: 0 / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.1602, allocations: 0.5803 MB / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.985e-05/0.1602, allocations: 0 / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.1602, allocations: 3.984 kB / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.693e-05/0.1603, allocations: 0 / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.898e-05/0.1603, allocations: 4 kB / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.21e-06/0.1603, allocations: 0 / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009024/0.1612, allocations: 0.5928 MB / 446.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.201e-06/0.1612, allocations: 0 / 446.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.1613, allocations: 29.7 kB / 446.2 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004977/0.1618, allocations: 407.2 kB / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-05/0.1618, allocations: 0 / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1618, allocations: 0 / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1618, allocations: 0 / 446.6 MB, free: 9.465 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.0004579/0.1623, allocations: 393.1 kB / 447 MB, free: 9.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.1623, allocations: 16.02 kB / 447 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.1624, allocations: 30.56 kB / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.1624, allocations: 3.953 kB / 447 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1625, allocations: 159.1 kB / 447.2 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1626, allocations: 4 kB / 447.2 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1626, allocations: 4 kB / 447.2 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.34e-05/0.1627, allocations: 33.64 kB / 447.2 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1627, allocations: 0 / 447.2 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.1627, allocations: 0 / 447.2 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.1627, allocations: 3.953 kB / 447.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.1627, allocations: 4 kB / 447.2 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.1629, allocations: 145.7 kB / 447.3 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.566e-05/0.1629, allocations: 18.67 kB / 447.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-06/0.1629, allocations: 4 kB / 447.4 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/0.163, allocations: 60.27 kB / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.504e-06/0.163, allocations: 0 / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001822/0.1632, allocations: 71.27 kB / 447.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.1633, allocations: 77.11 kB / 447.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.774e-05/0.1633, allocations: 89.86 kB / 447.7 MB, free: 8.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1633, allocations: 29.83 kB / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.1634, allocations: 80.14 kB / 447.8 MB, free: 8.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.1634, allocations: 4.219 kB / 447.8 MB, free: 8.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.1634, allocations: 4 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1636, allocations: 318.8 kB / 448.1 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.1636, allocations: 0 / 448.1 MB, free: 7.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.439e-06/0.1636, allocations: 0 / 448.1 MB, free: 7.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.282e-05/0.1636, allocations: 33.69 kB / 448.1 MB, free: 7.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1636, allocations: 4.062 kB / 448.1 MB, free: 7.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.088e-05/0.1637, allocations: 63.34 kB / 448.2 MB, free: 7.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.1638, allocations: 33.7 kB / 448.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1638, allocations: 0 / 448.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1638, allocations: 0 / 448.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/0.1638, allocations: 0 / 448.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.1638, allocations: 0 / 448.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.1638, allocations: 0 / 448.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1638, allocations: 7.984 kB / 448.2 MB, free: 7.539 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.0001133/0.164, allocations: 151.5 kB / 448.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-06/0.164, allocations: 0 / 448.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.164, allocations: 3.125 kB / 448.4 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.164, allocations: 4 kB / 448.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.164, allocations: 0 / 448.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.164, allocations: 0 / 448.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.1641, allocations: 149.6 kB / 448.5 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1642, allocations: 0 / 448.5 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1642, allocations: 0 / 448.5 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1642, allocations: 0 / 448.5 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.1642, allocations: 4 kB / 448.5 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1642, allocations: 4 kB / 448.5 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1642, allocations: 0 / 448.5 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.1643, allocations: 98.75 kB / 448.6 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.1644, allocations: 77.11 kB / 448.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.1644, allocations: 0 / 448.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-06/0.1644, allocations: 3.938 kB / 448.7 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.1644, allocations: 3.984 kB / 448.7 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1644, allocations: 8.031 kB / 448.7 MB, free: 6.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.833e-05/0.1645, allocations: 79.28 kB / 448.8 MB, free: 6.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1645, allocations: 0 / 448.8 MB, free: 6.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000441/0.1649, allocations: 132 kB / 448.9 MB, free: 6.727 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.0009969/0.1659, allocations: 0.7856 MB / 449.7 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.009e-05/0.166, allocations: 55.41 kB / 449.8 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.166, allocations: 0 / 449.8 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.1661, allocations: 59.41 kB / 449.8 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.585e-05/0.1662, allocations: 0 / 449.8 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.1666, allocations: 144.3 kB / 450 MB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.1668, allocations: 0.677 MB / 450.6 MB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.181e-06/0.1668, allocations: 128 / 450.6 MB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.141e-05/0.1668, allocations: 11.44 kB / 450.7 MB, free: 4.883 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1668, allocations: 0 / 450.7 MB, free: 4.883 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.1849, allocations: 4.505 MB / 455.2 MB, free: 404 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.1851, allocations: 193.4 kB / 455.4 MB, free: 164 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.155, allocations: 0 / 455.4 MB, free: 164 kB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat does not exist to compare? outputFormat=mat