Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001121, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 85.02 kB / 267 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5027/0.5027, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.129e-05/4.133e-05, allocations: 0 / 425.4 MB, free: 8.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.159, allocations: 58.85 MB / 484.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5142/0.6732, allocations: 86.25 MB / 0.5571 GB, free: 17.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.6736, allocations: 67.03 kB / 0.5572 GB, free: 17.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009783/0.6834, allocations: 3.569 MB / 0.5607 GB, free: 15.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6834, allocations: 0 / 0.5607 GB, free: 15.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.6835, allocations: 4.547 kB / 0.5607 GB, free: 15.35 MB / 394.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.0003974/0.6839, allocations: 372.5 kB / 0.561 GB, free: 14.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.6839, allocations: 12.03 kB / 0.5611 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.684, allocations: 30.56 kB / 0.5611 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.684, allocations: 17.03 kB / 0.5611 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.6843, allocations: 192.8 kB / 0.5613 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.6843, allocations: 0 / 0.5613 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.6843, allocations: 4 kB / 0.5613 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.6844, allocations: 44.52 kB / 0.5613 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/0.6845, allocations: 0 / 0.5613 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.6845, allocations: 3.75 kB / 0.5613 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.6845, allocations: 1.375 kB / 0.5613 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.785e-05/0.6846, allocations: 12.84 kB / 0.5614 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.685, allocations: 283.7 kB / 0.5616 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.6852, allocations: 41.09 kB / 0.5617 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.6852, allocations: 12.67 kB / 0.5617 GB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.6852, allocations: 0 / 0.5617 GB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.6853, allocations: 35.55 kB / 0.5617 GB, free: 14.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.6853, allocations: 0 / 0.5617 GB, free: 14.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004246/0.6857, allocations: 109.8 kB / 0.5618 GB, free: 14.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.6857, allocations: 60.61 kB / 0.5619 GB, free: 14.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.6859, allocations: 139.2 kB / 0.562 GB, free: 13.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.6859, allocations: 29.7 kB / 0.562 GB, free: 13.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.6859, allocations: 89.09 kB / 0.5621 GB, free: 13.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.686, allocations: 21.84 kB / 0.5621 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.686, allocations: 0 / 0.5621 GB, free: 13.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.6861, allocations: 325.6 kB / 0.5624 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.6861, allocations: 4 kB / 0.5625 GB, free: 13.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.6861, allocations: 13.97 kB / 0.5625 GB, free: 13.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.6862, allocations: 8.734 kB / 0.5625 GB, free: 13.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.6862, allocations: 0 / 0.5625 GB, free: 13.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.333e-05/0.6863, allocations: 69.7 kB / 0.5625 GB, free: 13.42 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6863, allocations: 8.781 kB / 0.5625 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6863, allocations: 0 / 0.5625 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.6863, allocations: 1.219 kB / 0.5625 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.6864, allocations: 19.14 kB / 0.5626 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.6864, allocations: 0 / 0.5626 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.6865, allocations: 9.406 kB / 0.5626 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.6865, allocations: 4 kB / 0.5626 GB, free: 13.38 MB / 394.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 () * 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 5.013e-05/0.6865, allocations: 104.5 kB / 0.5627 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.6866, allocations: 13.39 kB / 0.5627 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.6867, allocations: 74.7 kB / 0.5628 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6867, allocations: 0 / 0.5628 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6868, allocations: 4 kB / 0.5628 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.6868, allocations: 1.594 kB / 0.5628 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.6871, allocations: 330.5 kB / 0.5631 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6871, allocations: 0 / 0.5631 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.099e-05/0.6871, allocations: 15.42 kB / 0.5631 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.6871, allocations: 0 / 0.5631 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.6872, allocations: 0 / 0.5631 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.6872, allocations: 3.938 kB / 0.5631 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6872, allocations: 7.953 kB / 0.5631 GB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.6873, allocations: 157.8 kB / 0.5633 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.6874, allocations: 92.58 kB / 0.5633 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.6874, allocations: 256 / 0.5633 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.6875, allocations: 10.89 kB / 0.5634 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.6875, allocations: 11.95 kB / 0.5634 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.6875, allocations: 0 / 0.5634 GB, free: 12.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.417e-05/0.6876, allocations: 123.4 kB / 0.5635 GB, free: 12.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6876, allocations: 0 / 0.5635 GB, free: 12.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.6878, allocations: 18.44 kB / 0.5635 GB, free: 12.45 MB / 394.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 () * 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.001074/0.6889, allocations: 0.9642 MB / 0.5644 GB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.689, allocations: 27.84 kB / 0.5645 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6891, allocations: 0 / 0.5645 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/0.6891, allocations: 19.31 kB / 0.5645 GB, free: 11.53 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.6893, allocations: 15.12 kB / 0.5645 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.6898, allocations: 173.5 kB / 0.5647 GB, free: 11.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.6901, allocations: 0.6964 MB / 0.5654 GB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.729e-05/0.6901, allocations: 9.453 kB / 0.5654 GB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/0.6902, allocations: 24.45 kB / 0.5654 GB, free: 10.62 MB / 394.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6902, allocations: 0 / 0.5654 GB, free: 10.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.7071, allocations: 2.094 MB / 0.5674 GB, free: 9.309 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.7073, allocations: 189.6 kB / 0.5676 GB, free: 9.078 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.325, allocations: 0 / 0.5676 GB, free: 9.078 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat does not exist to compare? outputFormat=mat