Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",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.001214/0.001214, allocations: 177.2 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.323/1.323, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008137/0.0008136, allocations: 96.16 kB / 292.1 MB, free: 10.92 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.2965/0.2965, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003242, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3361, allocations: 61.91 MB / 0.5096 GB, free: 38.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1163/0.4524, allocations: 88.06 MB / 0.5956 GB, free: 7.051 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.4527, allocations: 83.91 kB / 0.5957 GB, free: 6.977 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009922/0.4627, allocations: 3.687 MB / 0.5993 GB, free: 3.285 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4627, allocations: 0 / 0.5993 GB, free: 3.285 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.4627, allocations: 8 kB / 0.5993 GB, free: 3.277 MB / 410.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.0004099/0.4631, allocations: 379 kB / 0.5997 GB, free: 2.859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.4632, allocations: 8.031 kB / 0.5997 GB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.4632, allocations: 38.56 kB / 0.5997 GB, free: 2.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.4633, allocations: 3.906 kB / 0.5997 GB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.4635, allocations: 194.9 kB / 0.5999 GB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.4635, allocations: 0 / 0.5999 GB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.4635, allocations: 7.953 kB / 0.5999 GB, free: 2.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.4637, allocations: 57.67 kB / 0.6 GB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.4637, allocations: 0 / 0.6 GB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.4637, allocations: 0 / 0.6 GB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4637, allocations: 0 / 0.6 GB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.183e-05/0.4638, allocations: 27.98 kB / 0.6 GB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.4642, allocations: 288.8 kB / 0.6003 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.4644, allocations: 46.55 kB / 0.6003 GB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.436e-05/0.4645, allocations: 0 / 0.6003 GB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.4645, allocations: 34.5 kB / 0.6004 GB, free: 2.043 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4645, allocations: 0 / 0.6004 GB, free: 2.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005739/0.4651, allocations: 173.4 kB / 0.6005 GB, free: 1.867 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.4652, allocations: 51.41 kB / 0.6006 GB, free: 1.805 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.4653, allocations: 131.4 kB / 0.6007 GB, free: 1.668 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.4653, allocations: 25.7 kB / 0.6007 GB, free: 1.637 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.4654, allocations: 96.12 kB / 0.6008 GB, free: 1.539 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.4654, allocations: 15.72 kB / 0.6008 GB, free: 1.523 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.4654, allocations: 4 kB / 0.6008 GB, free: 1.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4655, allocations: 322.8 kB / 0.6011 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.66e-05/0.4656, allocations: 31.92 kB / 0.6012 GB, free: 1.164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.99e-05/0.4657, allocations: 23.98 kB / 0.6012 GB, free: 1.141 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.217e-05/0.4658, allocations: 27.92 kB / 0.6012 GB, free: 1.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4658, allocations: 0 / 0.6012 GB, free: 1.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001809/0.4659, allocations: 93.66 kB / 0.6013 GB, free: 1.016 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.466, allocations: 4 kB / 0.6013 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.466, allocations: 4 kB / 0.6013 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.466, allocations: 256 / 0.6013 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.4661, allocations: 15.98 kB / 0.6013 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.4661, allocations: 4 kB / 0.6013 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.4661, allocations: 7.906 kB / 0.6013 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.4661, allocations: 4 kB / 0.6014 GB, free: 0.9766 MB / 410.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 (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 0.0001099/0.4663, allocations: 130.2 kB / 0.6015 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.4663, allocations: 0 / 0.6015 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.4665, allocations: 109.8 kB / 0.6016 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4665, allocations: 0 / 0.6016 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4666, allocations: 4 kB / 0.6016 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4666, allocations: 3.984 kB / 0.6016 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.467, allocations: 362.5 kB / 0.6019 GB, free: 316 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.467, allocations: 0 / 0.6019 GB, free: 316 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.4671, allocations: 19.98 kB / 0.602 GB, free: 296 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4671, allocations: 0 / 0.602 GB, free: 296 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.4671, allocations: 4 kB / 0.602 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4671, allocations: 0 / 0.602 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4671, allocations: 0 / 0.602 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.4674, allocations: 199.3 kB / 0.6021 GB, free: 76 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.4675, allocations: 81.11 kB / 0.6022 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.4675, allocations: 3.984 kB / 0.6022 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.617e-05/0.4676, allocations: 4 kB / 0.6022 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.4676, allocations: 8 kB / 0.6022 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.4676, allocations: 3.984 kB / 0.6022 GB, free: 15.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.641e-05/0.4677, allocations: 113 kB / 0.6024 GB, free: 15.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4677, allocations: 0 / 0.6024 GB, free: 15.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002256/0.4679, allocations: 24 kB / 0.6024 GB, free: 15.82 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 (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.001295/0.4692, allocations: 1.024 MB / 0.6034 GB, free: 14.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.4694, allocations: 59.91 kB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4694, allocations: 0 / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.08e-05/0.4695, allocations: 31.97 kB / 0.6035 GB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.4697, allocations: 19.94 kB / 0.6035 GB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009368/0.4707, allocations: 0.563 MB / 0.604 GB, free: 14.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.471, allocations: 0.6913 MB / 0.6047 GB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.09e-05/0.471, allocations: 20.41 kB / 0.6047 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.4711, allocations: 27.48 kB / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4711, allocations: 0 / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.4839, allocations: 2.046 MB / 0.6068 GB, free: 11.53 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/0.4842, allocations: 216.2 kB / 0.607 GB, free: 11.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.059, allocations: 4 kB / 0.607 GB, free: 11.28 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat does not exist to compare? outputFormat=mat