Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21",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.001339/0.001339, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.886/1.886, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009969/0.0009969, allocations: 96.23 kB / 267.1 MB, free: 9.273 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.4597/0.4597, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.921e-05/4.924e-05, allocations: 0 / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1538, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4958/0.6497, allocations: 86.53 MB / 0.5574 GB, free: 17.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.65, allocations: 75.44 kB / 0.5575 GB, free: 17.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009927/0.6599, allocations: 4.116 MB / 0.5615 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.66, allocations: 0 / 0.5615 GB, free: 14.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.66, allocations: 7.938 kB / 0.5615 GB, free: 14.89 MB / 394.7 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.0002969/0.6603, allocations: 380.4 kB / 0.5619 GB, free: 14.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.6603, allocations: 8.031 kB / 0.5619 GB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.88e-05/0.6604, allocations: 30.56 kB / 0.5619 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.6604, allocations: 11.34 kB / 0.5619 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.6606, allocations: 185.5 kB / 0.5621 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.6606, allocations: 4 kB / 0.5621 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.6606, allocations: 7.922 kB / 0.5621 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.6608, allocations: 61.64 kB / 0.5622 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.6608, allocations: 0 / 0.5622 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.6608, allocations: 0 / 0.5622 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.6608, allocations: 2.734 kB / 0.5622 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.249e-05/0.6608, allocations: 11.44 kB / 0.5622 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.6611, allocations: 275.8 kB / 0.5624 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.6613, allocations: 43.16 kB / 0.5625 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.6614, allocations: 16.3 kB / 0.5625 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.6614, allocations: 1.453 kB / 0.5625 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.6614, allocations: 34.56 kB / 0.5625 GB, free: 13.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6614, allocations: 0 / 0.5625 GB, free: 13.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003627/0.6618, allocations: 109.2 kB / 0.5626 GB, free: 13.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.6618, allocations: 89 kB / 0.5627 GB, free: 13.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/0.6619, allocations: 125.2 kB / 0.5628 GB, free: 13.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.6619, allocations: 25.7 kB / 0.5629 GB, free: 13.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.662, allocations: 93.7 kB / 0.563 GB, free: 13.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.662, allocations: 11.75 kB / 0.563 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.662, allocations: 7.312 kB / 0.563 GB, free: 13.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.6621, allocations: 314.2 kB / 0.5633 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.6621, allocations: 7.375 kB / 0.5633 GB, free: 13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.6621, allocations: 29.78 kB / 0.5633 GB, free: 12.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.848e-05/0.6622, allocations: 16.14 kB / 0.5633 GB, free: 12.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.6622, allocations: 0 / 0.5633 GB, free: 12.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.4e-05/0.6623, allocations: 63.61 kB / 0.5634 GB, free: 12.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.6623, allocations: 4.781 kB / 0.5634 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.6623, allocations: 0 / 0.5634 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.6623, allocations: 4 kB / 0.5634 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.6624, allocations: 11 kB / 0.5634 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.6624, allocations: 4 kB / 0.5634 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.6625, allocations: 14.75 kB / 0.5634 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.6625, allocations: 0 / 0.5634 GB, free: 12.88 MB / 394.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 (5): * Single equations (assignments): 5 * 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 4.72e-05/0.6625, allocations: 105 kB / 0.5635 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.6626, allocations: 7.906 kB / 0.5635 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.6627, allocations: 74.75 kB / 0.5636 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6627, allocations: 0 / 0.5636 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.6627, allocations: 0 / 0.5636 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6627, allocations: 5.172 kB / 0.5636 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.663, allocations: 326.5 kB / 0.5639 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.663, allocations: 0 / 0.5639 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.6631, allocations: 14.39 kB / 0.5639 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6631, allocations: 384 / 0.5639 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.6631, allocations: 5.359 kB / 0.5639 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6631, allocations: 4 kB / 0.5639 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6631, allocations: 3.953 kB / 0.564 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.6632, allocations: 160.6 kB / 0.5641 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.6633, allocations: 91.36 kB / 0.5642 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.6633, allocations: 0 / 0.5642 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.6634, allocations: 9.578 kB / 0.5642 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.6634, allocations: 13.48 kB / 0.5642 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.6634, allocations: 0 / 0.5642 GB, free: 12.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.05e-05/0.6635, allocations: 108 kB / 0.5643 GB, free: 11.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6635, allocations: 4 kB / 0.5643 GB, free: 11.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.6637, allocations: 29.53 kB / 0.5643 GB, free: 11.95 MB / 394.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 (5): * Single equations (assignments): 5 * 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.001003/0.6648, allocations: 0.9828 MB / 0.5653 GB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.6649, allocations: 33.62 kB / 0.5653 GB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6649, allocations: 0 / 0.5653 GB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.6649, allocations: 21.2 kB / 0.5654 GB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.6651, allocations: 14.64 kB / 0.5654 GB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.6655, allocations: 154.5 kB / 0.5655 GB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.6657, allocations: 0.6939 MB / 0.5662 GB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.56e-05/0.6657, allocations: 18.89 kB / 0.5662 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.6658, allocations: 20.53 kB / 0.5662 GB, free: 10.09 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6658, allocations: 3.938 kB / 0.5662 GB, free: 10.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.6796, allocations: 2.257 MB / 0.5684 GB, free: 8.562 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.6798, allocations: 187.2 kB / 0.5686 GB, free: 8.336 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.153, allocations: 0 / 0.5686 GB, free: 8.336 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat does not exist to compare? outputFormat=mat