Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",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.001277/0.001277, 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.274/1.274, 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.0008371/0.0008371, allocations: 101.8 kB / 292.1 MB, free: 10.71 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.3163/0.3163, allocations: 44.21 MB / 387.5 MB, free: 38.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.0002789, allocations: 15.98 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3411, allocations: 61.9 MB / 0.5096 GB, free: 37.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1192/0.4604, allocations: 88.16 MB / 0.5957 GB, free: 6.961 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.4606, allocations: 83.91 kB / 0.5958 GB, free: 6.887 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01078/0.4714, allocations: 4.21 MB / 0.5999 GB, free: 2.676 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4715, allocations: 0 / 0.5999 GB, free: 2.676 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.4715, allocations: 0 / 0.5999 GB, free: 2.676 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004918/0.472, allocations: 410.8 kB / 0.6003 GB, free: 2.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.472, allocations: 12.03 kB / 0.6003 GB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.4721, allocations: 38.55 kB / 0.6004 GB, free: 2.168 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.4722, allocations: 7.906 kB / 0.6004 GB, free: 2.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.4724, allocations: 198.8 kB / 0.6006 GB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.4724, allocations: 0 / 0.6006 GB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.4725, allocations: 11.95 kB / 0.6006 GB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.4727, allocations: 57.66 kB / 0.6006 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.4727, allocations: 7.938 kB / 0.6006 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4727, allocations: 4 kB / 0.6006 GB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4727, allocations: 0 / 0.6006 GB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.4728, allocations: 31.92 kB / 0.6007 GB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005115/0.4734, allocations: 304.7 kB / 0.601 GB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.4735, allocations: 46.56 kB / 0.601 GB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.4735, allocations: 4 kB / 0.601 GB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.4736, allocations: 34.5 kB / 0.601 GB, free: 1.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4736, allocations: 0 / 0.601 GB, free: 1.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009975/0.4746, allocations: 269.1 kB / 0.6013 GB, free: 1.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.4747, allocations: 51.41 kB / 0.6013 GB, free: 1.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.4749, allocations: 177 kB / 0.6015 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.4749, allocations: 25.7 kB / 0.6015 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.4749, allocations: 96.14 kB / 0.6016 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.475, allocations: 35.61 kB / 0.6017 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.475, allocations: 0 / 0.6017 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4751, allocations: 330.8 kB / 0.602 GB, free: 364 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.4752, allocations: 31.98 kB / 0.602 GB, free: 332 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.4753, allocations: 35.97 kB / 0.602 GB, free: 296 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.949e-05/0.4754, allocations: 35.98 kB / 0.6021 GB, free: 260 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4754, allocations: 0 / 0.6021 GB, free: 260 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002412/0.4757, allocations: 121.5 kB / 0.6022 GB, free: 132 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4757, allocations: 4 kB / 0.6022 GB, free: 128 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4757, allocations: 0 / 0.6022 GB, free: 128 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4757, allocations: 432 / 0.6022 GB, free: 128 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.4758, allocations: 31.92 kB / 0.6022 GB, free: 96 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.4759, allocations: 0 / 0.6022 GB, free: 96 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.4759, allocations: 11.98 kB / 0.6022 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.4759, allocations: 0 / 0.6022 GB, free: 84 kB / 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 (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 0.0001322/0.4761, allocations: 130.4 kB / 0.6024 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.4761, allocations: 7.906 kB / 0.6024 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.4764, allocations: 146.2 kB / 0.6025 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4764, allocations: 4 kB / 0.6025 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4764, allocations: 0 / 0.6025 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4764, allocations: 0 / 0.6025 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.477, allocations: 439.6 kB / 0.6029 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.477, allocations: 3.984 kB / 0.6029 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.4771, allocations: 16 kB / 0.603 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4771, allocations: 0 / 0.603 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.4771, allocations: 0 / 0.603 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4771, allocations: 7.984 kB / 0.603 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4771, allocations: 0 / 0.603 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.4774, allocations: 245.9 kB / 0.6032 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.4775, allocations: 96.91 kB / 0.6033 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.4775, allocations: 8 kB / 0.6033 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.4776, allocations: 4 kB / 0.6033 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.4777, allocations: 15.94 kB / 0.6033 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.4777, allocations: 4 kB / 0.6033 GB, free: 14.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.4778, allocations: 147.1 kB / 0.6035 GB, free: 14.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4778, allocations: 0 / 0.6035 GB, free: 14.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.4781, allocations: 23.94 kB / 0.6035 GB, free: 14.69 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 (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.001497/0.4796, allocations: 1.188 MB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.4798, allocations: 87.89 kB / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4798, allocations: 0 / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.263e-05/0.4799, allocations: 43.97 kB / 0.6048 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.4801, allocations: 22.92 kB / 0.6048 GB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.4813, allocations: 0.7513 MB / 0.6055 GB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.4816, allocations: 0.7122 MB / 0.6062 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7e-05/0.4817, allocations: 24.95 kB / 0.6062 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.4818, allocations: 35.36 kB / 0.6063 GB, free: 11.89 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4818, allocations: 4 kB / 0.6063 GB, free: 11.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.495, allocations: 2.629 MB / 0.6088 GB, free: 9.379 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.4952, allocations: 226.9 kB / 0.6091 GB, free: 9.125 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.171, allocations: 0 / 0.6091 GB, free: 9.125 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat does not exist to compare? outputFormat=mat