Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",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.0007896/0.0007897, allocations: 96.7 kB / 15.7 MB, free: 468 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.0008962/0.0008962, allocations: 176.2 kB / 16.58 MB, free: 6.062 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.482/1.482, allocations: 205.4 MB / 222.8 MB, free: 5.879 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.3753/0.3753, allocations: 43.54 MB / 314.6 MB, free: 8.859 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.0005337/0.0005338, allocations: 12 kB / 384 MB, free: 8.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1423, allocations: 58.85 MB / 442.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002032/0.1443, allocations: 1.275 MB / 444.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005792/0.1449, allocations: 307.9 kB / 444.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.145, allocations: 0 / 444.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005745/0.1456, allocations: 447.2 kB / 444.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.1459, allocations: 243.5 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.1463, allocations: 139.7 kB / 445.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.1465, allocations: 119.7 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1466, allocations: 19.95 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1467, allocations: 103.7 kB / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.1469, allocations: 159.8 kB / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.1469, allocations: 0 / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.054e-05/0.147, allocations: 23.94 kB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.906e-05/0.1471, allocations: 79.75 kB / 445.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.1471, allocations: 65.45 kB / 445.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.1474, allocations: 191.9 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1474, allocations: 0 / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1474, allocations: 0 / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1474, allocations: 0 / 446 MB, free: 10.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006532/0.1481, allocations: 0.5871 MB / 446.6 MB, free: 9.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1481, allocations: 8.031 kB / 446.6 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.1482, allocations: 30.56 kB / 446.6 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.1482, allocations: 47.47 kB / 446.7 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.1486, allocations: 275.3 kB / 446.9 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.1486, allocations: 8 kB / 446.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.1486, allocations: 0 / 446.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.1488, allocations: 53.62 kB / 447 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.1488, allocations: 0 / 447 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.1488, allocations: 0 / 447 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1488, allocations: 7.953 kB / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.561e-05/0.1489, allocations: 31.97 kB / 447 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.1495, allocations: 388.7 kB / 447.4 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.692e-05/0.1496, allocations: 38.5 kB / 447.5 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.1496, allocations: 16.92 kB / 447.5 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.1496, allocations: 0 / 447.5 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1497, allocations: 38.5 kB / 447.5 MB, free: 8.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 5.67e-06/0.1497, allocations: 4 kB / 447.5 MB, free: 8.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002754/0.15, allocations: 101.2 kB / 447.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.15, allocations: 55.39 kB / 447.7 MB, free: 8.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008191/0.1508, allocations: 0.8691 MB / 448.5 MB, free: 7.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1509, allocations: 25.7 kB / 448.6 MB, free: 7.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.1511, allocations: 224 kB / 448.8 MB, free: 7.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.1511, allocations: 11.97 kB / 448.8 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.1511, allocations: 0 / 448.8 MB, free: 7.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.1513, allocations: 362.8 kB / 449.1 MB, free: 6.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/0.1514, allocations: 8 kB / 449.2 MB, free: 6.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.1514, allocations: 15.98 kB / 449.2 MB, free: 6.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.183e-05/0.1515, allocations: 11.98 kB / 449.2 MB, free: 6.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1515, allocations: 8.062 kB / 449.2 MB, free: 6.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001427/0.1516, allocations: 93.12 kB / 449.3 MB, free: 6.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1517, allocations: 7.953 kB / 449.3 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1517, allocations: 0 / 449.3 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1517, allocations: 0 / 449.3 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.948e-05/0.1518, allocations: 15.98 kB / 449.3 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1518, allocations: 0 / 449.3 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.263e-05/0.1518, allocations: 8.031 kB / 449.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1519, allocations: 0 / 449.3 MB, free: 6.527 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001973/0.1521, allocations: 218.7 kB / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.1521, allocations: 39.44 kB / 449.6 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.1523, allocations: 112.6 kB / 449.7 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1523, allocations: 0 / 449.7 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.1524, allocations: 12.03 kB / 449.7 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1524, allocations: 0 / 449.7 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.1526, allocations: 277.6 kB / 450 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1527, allocations: 0 / 450 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.1527, allocations: 11.98 kB / 450 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1527, allocations: 0 / 450 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.1527, allocations: 4 kB / 450 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1527, allocations: 3.953 kB / 450 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1527, allocations: 0 / 450 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.1529, allocations: 195 kB / 450.2 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.153, allocations: 112.5 kB / 450.3 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.153, allocations: 0 / 450.3 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.1531, allocations: 7.938 kB / 450.3 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.1532, allocations: 7.938 kB / 450.3 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1532, allocations: 7.938 kB / 450.3 MB, free: 5.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00063/0.1538, allocations: 0.655 MB / 451 MB, free: 4.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1538, allocations: 0 / 451 MB, free: 4.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1541, allocations: 24 kB / 451 MB, free: 4.762 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.00116/0.1552, allocations: 0.9617 MB / 451.9 MB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.1554, allocations: 23.97 kB / 452 MB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1554, allocations: 4.062 kB / 452 MB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.1554, allocations: 16 kB / 452 MB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.1558, allocations: 30.25 kB / 452 MB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.1588, allocations: 2.26 MB / 454.3 MB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.1593, allocations: 0.8185 MB / 455.1 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.857e-05/0.1594, allocations: 16.16 kB / 455.1 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.1595, allocations: 111.4 kB / 455.2 MB, free: 440 kB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1595, allocations: 0 / 455.2 MB, free: 440 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2326/0.3922, allocations: 5.181 MB / 460.4 MB, free: 45.5 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/0.3924, allocations: 222 kB / 460.6 MB, free: 45.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.171, allocations: 0 / 460.6 MB, free: 45.25 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat does not exist to compare? outputFormat=mat