Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009791/0.0009794, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007758/0.0007758, allocations: 86.62 kB / 261.7 MB, free: 1.684 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.1876/0.1876, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.141e-05/2.151e-05, allocations: 0 / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 58.85 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3319/0.4384, allocations: 86.28 MB / 0.5503 GB, free: 8.207 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4386, allocations: 71.38 kB / 0.5503 GB, free: 8.176 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009089/0.4477, allocations: 3.9 MB / 0.5542 GB, free: 5.055 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4478, allocations: 0 / 0.5542 GB, free: 5.055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.4478, allocations: 0 / 0.5542 GB, free: 5.055 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000427/0.4482, allocations: 412.2 kB / 0.5546 GB, free: 4.617 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.4483, allocations: 12.03 kB / 0.5546 GB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.4483, allocations: 11.86 kB / 0.5546 GB, free: 4.594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.4486, allocations: 205 kB / 0.5548 GB, free: 4.363 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.4486, allocations: 0 / 0.5548 GB, free: 4.363 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.4486, allocations: 4 kB / 0.5548 GB, free: 4.359 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.474e-05/0.4487, allocations: 26.31 kB / 0.5548 GB, free: 4.344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.4488, allocations: 56.66 kB / 0.5549 GB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4489, allocations: 0 / 0.5549 GB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.4489, allocations: 0 / 0.5549 GB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.4489, allocations: 7.953 kB / 0.5549 GB, free: 4.273 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.4492, allocations: 279.5 kB / 0.5551 GB, free: 3.988 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.069e-05/0.4493, allocations: 43.45 kB / 0.5552 GB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.4493, allocations: 16.55 kB / 0.5552 GB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.4494, allocations: 3.594 kB / 0.5552 GB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.4494, allocations: 42.48 kB / 0.5552 GB, free: 3.879 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.4494, allocations: 0 / 0.5552 GB, free: 3.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006678/0.4501, allocations: 212.1 kB / 0.5554 GB, free: 3.691 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.4501, allocations: 77.11 kB / 0.5555 GB, free: 3.598 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.4502, allocations: 134.5 kB / 0.5556 GB, free: 3.477 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.4502, allocations: 25.7 kB / 0.5557 GB, free: 3.445 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.4503, allocations: 98.25 kB / 0.5558 GB, free: 3.355 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.4503, allocations: 27.55 kB / 0.5558 GB, free: 3.328 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.4503, allocations: 4 kB / 0.5558 GB, free: 3.324 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.679e-05/0.4504, allocations: 317.7 kB / 0.5561 GB, free: 3.012 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.669e-05/0.4504, allocations: 23.05 kB / 0.5561 GB, free: 2.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/0.4505, allocations: 31.34 kB / 0.5561 GB, free: 2.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.802e-05/0.4505, allocations: 22.7 kB / 0.5562 GB, free: 2.953 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4505, allocations: 0 / 0.5562 GB, free: 2.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001148/0.4507, allocations: 95.38 kB / 0.5562 GB, free: 2.871 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.4507, allocations: 8.031 kB / 0.5563 GB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4507, allocations: 0 / 0.5563 GB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4507, allocations: 0 / 0.5563 GB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.4509, allocations: 51.27 kB / 0.5563 GB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.4509, allocations: 0 / 0.5563 GB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.4511, allocations: 39.95 kB / 0.5563 GB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.4511, allocations: 0 / 0.5563 GB, free: 2.777 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.602e-05/0.4512, allocations: 108.9 kB / 0.5564 GB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001183/0.4513, allocations: 83.36 kB / 0.5565 GB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.4513, allocations: 7.906 kB / 0.5565 GB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.4515, allocations: 98.77 kB / 0.5566 GB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4515, allocations: 7.984 kB / 0.5566 GB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4515, allocations: 0 / 0.5566 GB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4515, allocations: 0 / 0.5566 GB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.4518, allocations: 356 kB / 0.557 GB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4518, allocations: 192 / 0.557 GB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.452, allocations: 59.94 kB / 0.557 GB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.452, allocations: 0 / 0.557 GB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.452, allocations: 0 / 0.557 GB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.452, allocations: 0 / 0.557 GB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.452, allocations: 0 / 0.557 GB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.4522, allocations: 187.6 kB / 0.5572 GB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.4522, allocations: 96.31 kB / 0.5573 GB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.4523, allocations: 0 / 0.5573 GB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.4524, allocations: 31.97 kB / 0.5573 GB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.4525, allocations: 11.8 kB / 0.5573 GB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.4525, allocations: 0 / 0.5573 GB, free: 1.762 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.241e-05/0.4526, allocations: 117.8 kB / 0.5575 GB, free: 1.656 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4526, allocations: 0 / 0.5575 GB, free: 1.656 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.4528, allocations: 43.17 kB / 0.5575 GB, free: 1.617 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.000954/0.4538, allocations: 0.9923 MB / 0.5585 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.454, allocations: 55.48 kB / 0.5585 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.454, allocations: 0 / 0.5585 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.623e-05/0.454, allocations: 33.62 kB / 0.5586 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.4543, allocations: 20 kB / 0.5586 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.4547, allocations: 171.5 kB / 0.5587 GB, free: 420 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.455, allocations: 0.7041 MB / 0.5594 GB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.575e-05/0.4551, allocations: 20.72 kB / 0.5594 GB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.4552, allocations: 30.92 kB / 0.5595 GB, free: 15.64 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4552, allocations: 0 / 0.5595 GB, free: 15.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.4778, allocations: 2.61 MB / 0.562 GB, free: 13.04 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/0.4781, allocations: 172.9 kB / 0.5622 GB, free: 12.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.166, allocations: 3.938 kB / 0.5622 GB, free: 12.84 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat does not exist to compare? outputFormat=mat