Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",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.001701/0.001701, allocations: 183.9 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.915/1.915, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008811/0.0008809, allocations: 90.11 kB / 267.1 MB, free: 9.281 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.5109/0.5109, allocations: 43.47 MB / 358.6 MB, free: 51.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.94e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1586, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5033/0.662, allocations: 86.5 MB / 0.5574 GB, free: 17.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.6623, allocations: 75.69 kB / 0.5574 GB, free: 17.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01029/0.6726, allocations: 4.259 MB / 0.5616 GB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6726, allocations: 0 / 0.5616 GB, free: 14.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.6727, allocations: 4 kB / 0.5616 GB, free: 14.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003292/0.673, allocations: 399.1 kB / 0.562 GB, free: 14.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.673, allocations: 8.031 kB / 0.562 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.6731, allocations: 36.06 kB / 0.562 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.6731, allocations: 15.25 kB / 0.562 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.6733, allocations: 211.6 kB / 0.5623 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.6734, allocations: 7.5 kB / 0.5623 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.6734, allocations: 4 kB / 0.5623 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.6735, allocations: 72.83 kB / 0.5623 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.6736, allocations: 4 kB / 0.5623 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.6736, allocations: 0 / 0.5623 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6736, allocations: 1.375 kB / 0.5623 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.173e-05/0.6737, allocations: 31.73 kB / 0.5624 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.6741, allocations: 411.5 kB / 0.5628 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.6744, allocations: 79.81 kB / 0.5628 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.6744, allocations: 30.53 kB / 0.5629 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.6744, allocations: 1.453 kB / 0.5629 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.6745, allocations: 37.94 kB / 0.5629 GB, free: 13.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.6745, allocations: 0 / 0.5629 GB, free: 13.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005111/0.675, allocations: 201 kB / 0.5631 GB, free: 13.15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.675, allocations: 78.66 kB / 0.5632 GB, free: 13.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.6752, allocations: 208.4 kB / 0.5634 GB, free: 12.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.6752, allocations: 36.44 kB / 0.5634 GB, free: 12.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.6753, allocations: 104 kB / 0.5635 GB, free: 12.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.6753, allocations: 32.36 kB / 0.5635 GB, free: 12.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.6753, allocations: 0 / 0.5635 GB, free: 12.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.6754, allocations: 325.2 kB / 0.5638 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.6754, allocations: 28.12 kB / 0.5639 GB, free: 12.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/0.6755, allocations: 38.7 kB / 0.5639 GB, free: 12.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.634e-05/0.6755, allocations: 27.19 kB / 0.5639 GB, free: 12.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.6756, allocations: 0 / 0.5639 GB, free: 12.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001332/0.6757, allocations: 109.9 kB / 0.564 GB, free: 12.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.6757, allocations: 9.359 kB / 0.564 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.6757, allocations: 0.875 kB / 0.564 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.6757, allocations: 0 / 0.564 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.6758, allocations: 27.52 kB / 0.5641 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.6759, allocations: 0 / 0.5641 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.022e-05/0.6759, allocations: 9.312 kB / 0.5641 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.676, allocations: 9.484 kB / 0.5641 GB, free: 12.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.102e-05/0.676, allocations: 106.2 kB / 0.5642 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.6761, allocations: 11.84 kB / 0.5642 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.6763, allocations: 140.7 kB / 0.5643 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6763, allocations: 4 kB / 0.5643 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6763, allocations: 3.953 kB / 0.5643 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6763, allocations: 1.266 kB / 0.5643 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.6768, allocations: 0.5084 MB / 0.5648 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6768, allocations: 1.406 kB / 0.5648 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.042e-05/0.6769, allocations: 22.48 kB / 0.5649 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.6769, allocations: 5.406 kB / 0.5649 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.6769, allocations: 0 / 0.5649 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6769, allocations: 4 kB / 0.5649 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6769, allocations: 8.594 kB / 0.5649 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.6771, allocations: 306.7 kB / 0.5652 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.6772, allocations: 95.45 kB / 0.5653 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.6772, allocations: 4 kB / 0.5653 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.6773, allocations: 13.08 kB / 0.5653 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.6774, allocations: 8.172 kB / 0.5653 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.6774, allocations: 4 kB / 0.5653 GB, free: 11.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.6775, allocations: 172.8 kB / 0.5655 GB, free: 10.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6775, allocations: 0 / 0.5655 GB, free: 10.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.6778, allocations: 29.05 kB / 0.5655 GB, free: 10.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0009976/0.6788, allocations: 1.241 MB / 0.5667 GB, free: 9.746 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.6789, allocations: 66.22 kB / 0.5668 GB, free: 9.703 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6789, allocations: 4 kB / 0.5668 GB, free: 9.699 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.973e-05/0.679, allocations: 36.17 kB / 0.5668 GB, free: 9.672 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.6792, allocations: 23.81 kB / 0.5668 GB, free: 9.664 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.6798, allocations: 287.4 kB / 0.5671 GB, free: 9.406 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.68, allocations: 0.7178 MB / 0.5678 GB, free: 8.684 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.549e-05/0.6801, allocations: 39.42 kB / 0.5678 GB, free: 8.652 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.6801, allocations: 35.75 kB / 0.5679 GB, free: 8.637 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6801, allocations: 0 / 0.5679 GB, free: 8.637 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01411/0.6943, allocations: 2.834 MB / 0.5706 GB, free: 6.277 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.6945, allocations: 188.3 kB / 0.5708 GB, free: 6.047 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/2.222, allocations: 4 kB / 0.5708 GB, free: 6.043 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat does not exist to compare? outputFormat=mat