Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test25",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.001101/0.001101, allocations: 183 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.726/1.726, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.000903/0.000903, allocations: 92.39 kB / 267.1 MB, free: 9.273 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.4375/0.4375, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.691e-05/5.71e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1647, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.492/0.6568, allocations: 87.13 MB / 0.558 GB, free: 16.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/0.6572, allocations: 71.7 kB / 0.5581 GB, free: 16.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01453/0.6717, allocations: 4.227 MB / 0.5622 GB, free: 14.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6718, allocations: 0 / 0.5622 GB, free: 14.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.6718, allocations: 0 / 0.5622 GB, free: 14.28 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003955/0.6722, allocations: 401.8 kB / 0.5626 GB, free: 13.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.6723, allocations: 8.031 kB / 0.5626 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.6723, allocations: 30.56 kB / 0.5626 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.6724, allocations: 13.36 kB / 0.5626 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.6726, allocations: 197.8 kB / 0.5628 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.6726, allocations: 5.5 kB / 0.5628 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.6727, allocations: 3.5 kB / 0.5628 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.6728, allocations: 57.22 kB / 0.5629 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6729, allocations: 1.688 kB / 0.5629 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.6729, allocations: 4.547 kB / 0.5629 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.6729, allocations: 4 kB / 0.5629 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.759e-05/0.673, allocations: 20.77 kB / 0.5629 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.6735, allocations: 314.3 kB / 0.5632 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.6736, allocations: 45.03 kB / 0.5632 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.6737, allocations: 17.05 kB / 0.5633 GB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.6737, allocations: 4 kB / 0.5633 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.6737, allocations: 30.56 kB / 0.5633 GB, free: 13.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.6737, allocations: 0 / 0.5633 GB, free: 13.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006073/0.6744, allocations: 169.2 kB / 0.5635 GB, free: 12.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.6744, allocations: 53.14 kB / 0.5635 GB, free: 12.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.6746, allocations: 156.8 kB / 0.5637 GB, free: 12.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.6746, allocations: 25.7 kB / 0.5637 GB, free: 12.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.6747, allocations: 106.9 kB / 0.5638 GB, free: 12.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.6747, allocations: 25.83 kB / 0.5638 GB, free: 12.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.6747, allocations: 0 / 0.5638 GB, free: 12.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.438e-05/0.6748, allocations: 323.8 kB / 0.5641 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.117e-05/0.6748, allocations: 23.66 kB / 0.5641 GB, free: 12.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.405e-05/0.6749, allocations: 26.86 kB / 0.5642 GB, free: 12.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.547e-05/0.675, allocations: 24.3 kB / 0.5642 GB, free: 12.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.675, allocations: 0 / 0.5642 GB, free: 12.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001712/0.6751, allocations: 82.98 kB / 0.5643 GB, free: 12.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.6752, allocations: 8 kB / 0.5643 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6752, allocations: 3.953 kB / 0.5643 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.6752, allocations: 0 / 0.5643 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.6754, allocations: 24.59 kB / 0.5643 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.6754, allocations: 4 kB / 0.5643 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.929e-05/0.6755, allocations: 14.33 kB / 0.5643 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.6755, allocations: 4.312 kB / 0.5643 GB, free: 12.16 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 (7): * Single equations (assignments): 7 * 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 6.439e-05/0.6756, allocations: 106.5 kB / 0.5644 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.6756, allocations: 10.91 kB / 0.5644 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.6759, allocations: 110.6 kB / 0.5645 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.6759, allocations: 11.95 kB / 0.5646 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6759, allocations: 0 / 0.5646 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.6759, allocations: 0 / 0.5646 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.6764, allocations: 383.1 kB / 0.5649 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6764, allocations: 0 / 0.5649 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.6765, allocations: 24.55 kB / 0.5649 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.6766, allocations: 3.953 kB / 0.5649 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.6766, allocations: 0 / 0.5649 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.6766, allocations: 8 kB / 0.565 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6766, allocations: 0 / 0.565 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.6768, allocations: 195.4 kB / 0.5651 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.6769, allocations: 90.09 kB / 0.5652 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.6769, allocations: 5.312 kB / 0.5652 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.677, allocations: 15.19 kB / 0.5652 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.6771, allocations: 7.375 kB / 0.5653 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.6771, allocations: 7.312 kB / 0.5653 GB, free: 11.26 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.6772, allocations: 131.5 kB / 0.5654 GB, free: 11.15 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6773, allocations: 0.75 kB / 0.5654 GB, free: 11.15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003723/0.6776, allocations: 23.75 kB / 0.5654 GB, free: 11.13 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 (7): * Single equations (assignments): 7 * 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.001372/0.679, allocations: 0.99 MB / 0.5664 GB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.6792, allocations: 51.34 kB / 0.5664 GB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6792, allocations: 0 / 0.5664 GB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.585e-05/0.6793, allocations: 32.36 kB / 0.5665 GB, free: 10.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.6796, allocations: 22.19 kB / 0.5665 GB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006221/0.6802, allocations: 217.8 kB / 0.5667 GB, free: 9.953 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.6804, allocations: 0.718 MB / 0.5674 GB, free: 9.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.6805, allocations: 20.95 kB / 0.5674 GB, free: 9.215 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/0.6806, allocations: 32.45 kB / 0.5674 GB, free: 9.199 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6806, allocations: 0 / 0.5674 GB, free: 9.199 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.7003, allocations: 2.502 MB / 0.5699 GB, free: 6.969 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/0.7006, allocations: 186.6 kB / 0.5701 GB, free: 6.742 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.262, allocations: 0 / 0.5701 GB, free: 6.742 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat does not exist to compare? outputFormat=mat