Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001214/0.001214, 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.327/1.327, 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.0008467/0.0008466, allocations: 103.7 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.3038/0.3038, allocations: 44.21 MB / 387.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003754, allocations: 12 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3504, allocations: 61.89 MB / 0.5096 GB, free: 37.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.4619, allocations: 88.36 MB / 0.5959 GB, free: 6.758 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.4622, allocations: 83.92 kB / 0.596 GB, free: 6.684 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01066/0.4729, allocations: 4.472 MB / 0.6004 GB, free: 2.215 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4729, allocations: 0 / 0.6004 GB, free: 2.215 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.4729, allocations: 0 / 0.6004 GB, free: 2.215 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.0004272/0.4734, allocations: 387.1 kB / 0.6007 GB, free: 1.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4734, allocations: 8.031 kB / 0.6007 GB, free: 1.781 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.4735, allocations: 38.5 kB / 0.6008 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.4735, allocations: 7.906 kB / 0.6008 GB, free: 1.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.4737, allocations: 192.2 kB / 0.601 GB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.4737, allocations: 4 kB / 0.601 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.4738, allocations: 7.953 kB / 0.601 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.4739, allocations: 67.39 kB / 0.601 GB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.474, allocations: 0 / 0.601 GB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.474, allocations: 11.88 kB / 0.6011 GB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.474, allocations: 4 kB / 0.6011 GB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.273e-05/0.4741, allocations: 27.92 kB / 0.6011 GB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.4745, allocations: 280.9 kB / 0.6014 GB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.4747, allocations: 46.56 kB / 0.6014 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.4747, allocations: 4 kB / 0.6014 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.4748, allocations: 34.5 kB / 0.6014 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.4748, allocations: 0 / 0.6014 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005773/0.4753, allocations: 161.8 kB / 0.6016 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.4754, allocations: 81.05 kB / 0.6017 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.4755, allocations: 132.3 kB / 0.6018 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.4756, allocations: 25.7 kB / 0.6018 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.4756, allocations: 92.12 kB / 0.6019 GB, free: 432 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.4756, allocations: 19.75 kB / 0.6019 GB, free: 412 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.4757, allocations: 0 / 0.6019 GB, free: 412 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4758, allocations: 322.8 kB / 0.6022 GB, free: 80 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.984e-05/0.4759, allocations: 19.98 kB / 0.6023 GB, free: 60 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.476, allocations: 41.7 kB / 0.6023 GB, free: 12 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.744e-05/0.4761, allocations: 35.92 kB / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4761, allocations: 0 / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001824/0.4763, allocations: 85.58 kB / 0.6024 GB, free: 15.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4763, allocations: 8.031 kB / 0.6024 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4763, allocations: 7.984 kB / 0.6024 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.4763, allocations: 0 / 0.6024 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.4764, allocations: 19.92 kB / 0.6024 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4764, allocations: 3.984 kB / 0.6024 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.4765, allocations: 8 kB / 0.6025 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.4765, allocations: 0 / 0.6025 GB, free: 15.84 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 (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 9.726e-05/0.4766, allocations: 126.3 kB / 0.6026 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.4766, allocations: 7.906 kB / 0.6026 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.4768, allocations: 101.6 kB / 0.6027 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4769, allocations: 0 / 0.6027 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4769, allocations: 0 / 0.6027 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4769, allocations: 3.984 kB / 0.6027 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.4773, allocations: 374.8 kB / 0.603 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4773, allocations: 3.938 kB / 0.603 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.4774, allocations: 12 kB / 0.6031 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4774, allocations: 0 / 0.6031 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.4774, allocations: 4 kB / 0.6031 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4774, allocations: 3.984 kB / 0.6031 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4774, allocations: 0 / 0.6031 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.4777, allocations: 195.3 kB / 0.6032 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.4777, allocations: 92.94 kB / 0.6033 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.4778, allocations: 4 kB / 0.6033 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.4778, allocations: 7.984 kB / 0.6033 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.4779, allocations: 0 / 0.6033 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4779, allocations: 8 kB / 0.6034 GB, free: 14.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.362e-05/0.478, allocations: 99.27 kB / 0.6035 GB, free: 14.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.478, allocations: 0 / 0.6035 GB, free: 14.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.4782, allocations: 27.98 kB / 0.6035 GB, free: 14.68 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.001424/0.4796, allocations: 1.072 MB / 0.6045 GB, free: 13.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.4798, allocations: 51.97 kB / 0.6046 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4799, allocations: 0 / 0.6046 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.628e-05/0.48, allocations: 35.92 kB / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.4801, allocations: 17.81 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009123/0.4811, allocations: 0.5517 MB / 0.6052 GB, free: 13.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.4813, allocations: 0.6887 MB / 0.6058 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.489e-05/0.4814, allocations: 24.12 kB / 0.6059 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.4815, allocations: 19.42 kB / 0.6059 GB, free: 12.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4815, allocations: 3.938 kB / 0.6059 GB, free: 12.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.4969, allocations: 2.296 MB / 0.6081 GB, free: 10.12 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/0.4972, allocations: 209.7 kB / 0.6083 GB, free: 9.891 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.089, allocations: 0 / 0.6083 GB, free: 9.891 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat does not exist to compare? outputFormat=mat