Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",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.001619/0.001619, allocations: 177 kB / 17.06 MB, free: 5.094 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.295/1.295, allocations: 223.2 MB / 241 MB, free: 11.9 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.0009987/0.0009983, allocations: 93.47 kB / 292.1 MB, free: 10.93 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.3132/0.3132, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003479, allocations: 12 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4018, allocations: 61.9 MB / 0.5096 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.5263, allocations: 90.6 MB / 0.5981 GB, free: 4.512 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.5266, allocations: 91.84 kB / 0.5982 GB, free: 4.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02211/0.5487, allocations: 8.72 MB / 0.6067 GB, free: 11.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5488, allocations: 0 / 0.6067 GB, free: 11.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.897e-05/0.5488, allocations: 8 kB / 0.6067 GB, free: 11.7 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008261/0.5496, allocations: 0.6303 MB / 0.6073 GB, free: 11.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.5497, allocations: 12.03 kB / 0.6074 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.307e-05/0.5497, allocations: 46.56 kB / 0.6074 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/0.5498, allocations: 35.53 kB / 0.6074 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.5503, allocations: 341.1 kB / 0.6078 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.5504, allocations: 8 kB / 0.6078 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.5504, allocations: 15.91 kB / 0.6078 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.5506, allocations: 106.7 kB / 0.6079 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.5507, allocations: 4 kB / 0.6079 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.5507, allocations: 4 kB / 0.6079 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.5507, allocations: 4 kB / 0.6079 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.5509, allocations: 75.89 kB / 0.608 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000695/0.5516, allocations: 0.5002 MB / 0.6085 GB, free: 9.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.5517, allocations: 98.47 kB / 0.6085 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.5518, allocations: 15.94 kB / 0.6086 GB, free: 9.648 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.5518, allocations: 30.56 kB / 0.6086 GB, free: 9.609 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.5518, allocations: 0 / 0.6086 GB, free: 9.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008938/0.5527, allocations: 391.9 kB / 0.609 GB, free: 9.219 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.5528, allocations: 55.41 kB / 0.609 GB, free: 9.152 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006072/0.5534, allocations: 489.1 kB / 0.6095 GB, free: 8.664 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.5534, allocations: 29.7 kB / 0.6095 GB, free: 8.629 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.5536, allocations: 208.5 kB / 0.6097 GB, free: 8.422 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.5536, allocations: 55.2 kB / 0.6098 GB, free: 8.367 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.5536, allocations: 3.938 kB / 0.6098 GB, free: 8.363 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5538, allocations: 354.8 kB / 0.6101 GB, free: 8.008 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.5539, allocations: 47.98 kB / 0.6102 GB, free: 7.961 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.554, allocations: 65.22 kB / 0.6102 GB, free: 7.898 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.5542, allocations: 61.7 kB / 0.6103 GB, free: 7.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5542, allocations: 3.953 kB / 0.6103 GB, free: 7.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000344/0.5545, allocations: 201.1 kB / 0.6105 GB, free: 7.633 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5545, allocations: 4 kB / 0.6105 GB, free: 7.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.5546, allocations: 12 kB / 0.6105 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5546, allocations: 0 / 0.6105 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.5547, allocations: 31.98 kB / 0.6105 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5548, allocations: 0 / 0.6105 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.296e-05/0.5548, allocations: 15.89 kB / 0.6105 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.5549, allocations: 8 kB / 0.6105 GB, free: 7.562 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.000169/0.555, allocations: 174.2 kB / 0.6107 GB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.5551, allocations: 47.48 kB / 0.6107 GB, free: 7.336 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004425/0.5556, allocations: 243 kB / 0.611 GB, free: 7.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5556, allocations: 4 kB / 0.611 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5556, allocations: 0 / 0.611 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5556, allocations: 0 / 0.611 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009031/0.5565, allocations: 0.6855 MB / 0.6117 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5565, allocations: 0 / 0.6117 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.5566, allocations: 39.92 kB / 0.6117 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.5566, allocations: 0 / 0.6117 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.5567, allocations: 7.984 kB / 0.6117 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5567, allocations: 0 / 0.6117 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5567, allocations: 0 / 0.6117 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.5571, allocations: 310 kB / 0.612 GB, free: 5.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.5573, allocations: 140.6 kB / 0.6121 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.5573, allocations: 7.984 kB / 0.6121 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.5574, allocations: 12 kB / 0.6121 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.5575, allocations: 11.92 kB / 0.6122 GB, free: 5.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.5575, allocations: 4 kB / 0.6122 GB, free: 5.789 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004862/0.558, allocations: 403.1 kB / 0.6125 GB, free: 5.398 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.623e-06/0.558, allocations: 0 / 0.6125 GB, free: 5.398 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003499/0.5584, allocations: 75.88 kB / 0.6126 GB, free: 5.324 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.002301/0.5607, allocations: 1.447 MB / 0.614 GB, free: 4.172 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003086/0.561, allocations: 139.8 kB / 0.6142 GB, free: 4.035 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.561, allocations: 0 / 0.6142 GB, free: 4.035 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.5613, allocations: 83.91 kB / 0.6142 GB, free: 3.953 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.5617, allocations: 70.02 kB / 0.6143 GB, free: 3.891 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.5645, allocations: 1.956 MB / 0.6162 GB, free: 1.875 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.5649, allocations: 0.8145 MB / 0.617 GB, free: 1.035 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.565, allocations: 49.92 kB / 0.6171 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.5652, allocations: 123.4 kB / 0.6172 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5652, allocations: 0 / 0.6172 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.5852, allocations: 6.933 MB / 0.624 GB, free: 10.07 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.5854, allocations: 213.1 kB / 0.6242 GB, free: 9.828 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.537, allocations: 0 / 0.6242 GB, free: 9.828 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat does not exist to compare? outputFormat=mat