Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009888/0.0009884, allocations: 176.8 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009081/0.000908, allocations: 98.16 kB / 292.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3383/0.3383, allocations: 44.2 MB / 387.4 MB, free: 38.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 15.98 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3292, allocations: 61.9 MB / 0.5096 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.4676, allocations: 90.03 MB / 0.5976 GB, free: 5.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.4679, allocations: 91.89 kB / 0.5976 GB, free: 5.008 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02707/0.495, allocations: 9.092 MB / 0.6065 GB, free: 11.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4951, allocations: 0 / 0.6065 GB, free: 11.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.445e-05/0.4952, allocations: 8 kB / 0.6065 GB, free: 11.88 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001378/0.4966, allocations: 0.7556 MB / 0.6073 GB, free: 11.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4966, allocations: 12.03 kB / 0.6073 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.13e-05/0.4967, allocations: 38.56 kB / 0.6073 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.4969, allocations: 63.23 kB / 0.6074 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000967/0.4978, allocations: 478.9 kB / 0.6078 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.4979, allocations: 11.98 kB / 0.6078 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.4979, allocations: 4 kB / 0.6078 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.4982, allocations: 163.1 kB / 0.608 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.4983, allocations: 0 / 0.608 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.4983, allocations: 4 kB / 0.608 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.4983, allocations: 4 kB / 0.608 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.4986, allocations: 103.9 kB / 0.6081 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.4998, allocations: 0.7306 MB / 0.6088 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.5, allocations: 121.2 kB / 0.6089 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.5001, allocations: 4 kB / 0.6089 GB, free: 9.223 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.5001, allocations: 34.62 kB / 0.609 GB, free: 9.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.5001, allocations: 0 / 0.609 GB, free: 9.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.001538/0.5017, allocations: 0.5806 MB / 0.6095 GB, free: 8.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.5018, allocations: 77.11 kB / 0.6096 GB, free: 8.496 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.5028, allocations: 0.7952 MB / 0.6104 GB, free: 7.691 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.5029, allocations: 33.7 kB / 0.6104 GB, free: 7.652 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.5031, allocations: 252.2 kB / 0.6107 GB, free: 7.398 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/0.5032, allocations: 51.27 kB / 0.6107 GB, free: 7.348 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.5032, allocations: 4 kB / 0.6107 GB, free: 7.344 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.5034, allocations: 370.7 kB / 0.6111 GB, free: 6.973 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.5036, allocations: 75.95 kB / 0.6111 GB, free: 6.898 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.5038, allocations: 91.72 kB / 0.6112 GB, free: 6.805 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.504, allocations: 87.94 kB / 0.6113 GB, free: 6.719 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.504, allocations: 0 / 0.6113 GB, free: 6.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005602/0.5046, allocations: 256.8 kB / 0.6116 GB, free: 6.461 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.5046, allocations: 9.344 kB / 0.6116 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.5046, allocations: 128 / 0.6116 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5046, allocations: 4 kB / 0.6116 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.5049, allocations: 43.97 kB / 0.6116 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5049, allocations: 8.141 kB / 0.6116 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.5051, allocations: 16 kB / 0.6116 GB, free: 6.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.5051, allocations: 15.92 kB / 0.6117 GB, free: 6.367 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002496/0.5053, allocations: 210.3 kB / 0.6119 GB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.5055, allocations: 55.34 kB / 0.6119 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006426/0.5061, allocations: 314.3 kB / 0.6122 GB, free: 5.785 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.5061, allocations: 3.984 kB / 0.6122 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5061, allocations: 0 / 0.6122 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5062, allocations: 0 / 0.6122 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.5076, allocations: 0.9036 MB / 0.6131 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5076, allocations: 0 / 0.6131 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.5078, allocations: 43.91 kB / 0.6131 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.5078, allocations: 0 / 0.6131 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.5078, allocations: 4 kB / 0.6131 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5078, allocations: 0 / 0.6131 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5078, allocations: 4 kB / 0.6131 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/0.5084, allocations: 451.6 kB / 0.6136 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.5087, allocations: 180.4 kB / 0.6137 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.5087, allocations: 4 kB / 0.6137 GB, free: 4.105 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.5089, allocations: 15.98 kB / 0.6138 GB, free: 4.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.509, allocations: 19.94 kB / 0.6138 GB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.509, allocations: 4 kB / 0.6138 GB, free: 4.066 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007592/0.5098, allocations: 0.6315 MB / 0.6144 GB, free: 3.438 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5098, allocations: 8 kB / 0.6144 GB, free: 3.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003992/0.5102, allocations: 79.84 kB / 0.6145 GB, free: 3.352 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.00172/0.5119, allocations: 1.347 MB / 0.6158 GB, free: 2.137 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004528/0.5124, allocations: 187.8 kB / 0.616 GB, free: 1.953 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5124, allocations: 0 / 0.616 GB, free: 1.953 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.5126, allocations: 95.89 kB / 0.6161 GB, free: 1.859 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.5131, allocations: 71.66 kB / 0.6161 GB, free: 1.793 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005116/0.5182, allocations: 3.321 MB / 0.6194 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.5188, allocations: 0.8801 MB / 0.6202 GB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000391/0.5192, allocations: 107.8 kB / 0.6203 GB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/0.5196, allocations: 171.4 kB / 0.6205 GB, free: 13.22 MB / 442.7 MB Notification: Performance of SimCode: time 3.537e-06/0.5196, allocations: 0 / 0.6205 GB, free: 13.22 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.5442, allocations: 9.313 MB / 0.6296 GB, free: 4.047 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.5444, allocations: 212.1 kB / 0.6298 GB, free: 3.809 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.6, allocations: 3.938 kB / 0.6298 GB, free: 3.805 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat does not exist to compare? outputFormat=mat