Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",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.001067/0.001067, 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.419/1.419, allocations: 223.2 MB / 241 MB, free: 10.15 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.0009697/0.0009697, allocations: 92.98 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.3569/0.3569, allocations: 44.21 MB / 387.4 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004193, allocations: 12 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.346, allocations: 61.91 MB / 0.5096 GB, free: 37.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.4596, allocations: 89.3 MB / 0.5968 GB, free: 5.832 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.4598, allocations: 83.92 kB / 0.5969 GB, free: 5.758 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.4749, allocations: 5.535 MB / 0.6023 GB, free: 228 kB / 410.7 MB Notification: Performance of FrontEnd: time 6.573e-06/0.475, allocations: 0 / 0.6023 GB, free: 228 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.475, allocations: 7.938 kB / 0.6023 GB, free: 220 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006114/0.4756, allocations: 414.9 kB / 0.6027 GB, free: 15.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.4757, allocations: 8.031 kB / 0.6027 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/0.4757, allocations: 34.56 kB / 0.6028 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.4758, allocations: 7.906 kB / 0.6028 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.4761, allocations: 225 kB / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.4761, allocations: 3.953 kB / 0.603 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.4762, allocations: 4 kB / 0.603 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.4763, allocations: 53.67 kB / 0.6031 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4764, allocations: 0 / 0.6031 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4764, allocations: 0 / 0.6031 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.4764, allocations: 0 / 0.6031 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.688e-05/0.4765, allocations: 19.98 kB / 0.6031 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.4769, allocations: 296.8 kB / 0.6034 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.4771, allocations: 58.67 kB / 0.6034 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.4771, allocations: 0 / 0.6034 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.4773, allocations: 71.5 kB / 0.6035 GB, free: 14.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.516e-06/0.4773, allocations: 4 kB / 0.6035 GB, free: 14.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006414/0.478, allocations: 177.2 kB / 0.6037 GB, free: 14.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.478, allocations: 55.41 kB / 0.6037 GB, free: 14.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.4782, allocations: 168.4 kB / 0.6039 GB, free: 14.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.4782, allocations: 25.7 kB / 0.6039 GB, free: 14.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.4783, allocations: 100 kB / 0.604 GB, free: 14.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.4783, allocations: 19.8 kB / 0.604 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.4783, allocations: 0 / 0.604 GB, free: 14.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4784, allocations: 335 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.4785, allocations: 19.98 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.126e-05/0.4786, allocations: 37.64 kB / 0.6044 GB, free: 13.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.736e-05/0.4786, allocations: 24 kB / 0.6044 GB, free: 13.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4786, allocations: 4 kB / 0.6044 GB, free: 13.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001842/0.4788, allocations: 105.8 kB / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.4789, allocations: 4 kB / 0.6045 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4789, allocations: 4.031 kB / 0.6045 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.4789, allocations: 4 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.996e-05/0.479, allocations: 19.98 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.479, allocations: 0 / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.479, allocations: 8 kB / 0.6046 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4791, allocations: 4 kB / 0.6046 GB, free: 13.72 MB / 426.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked 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 0.0001216/0.4792, allocations: 135.5 kB / 0.6047 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.4792, allocations: 15.88 kB / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.4795, allocations: 126.5 kB / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4795, allocations: 0 / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4795, allocations: 0 / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4795, allocations: 0 / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005048/0.48, allocations: 411.2 kB / 0.6052 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.48, allocations: 0 / 0.6052 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.4801, allocations: 8 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4801, allocations: 4.031 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.4801, allocations: 7.984 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4801, allocations: 0 / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4801, allocations: 0 / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.4804, allocations: 230.2 kB / 0.6055 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.4805, allocations: 89 kB / 0.6055 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.4805, allocations: 12 kB / 0.6055 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.4806, allocations: 96 / 0.6055 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.4806, allocations: 15.88 kB / 0.6056 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.4807, allocations: 4 kB / 0.6056 GB, free: 12.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.4808, allocations: 135.2 kB / 0.6057 GB, free: 12.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4808, allocations: 0 / 0.6057 GB, free: 12.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002675/0.4811, allocations: 27.98 kB / 0.6057 GB, free: 12.41 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001599/0.4827, allocations: 1.2 MB / 0.6069 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.4829, allocations: 55.97 kB / 0.6069 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4829, allocations: 0 / 0.6069 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.956e-05/0.483, allocations: 35.92 kB / 0.607 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.4832, allocations: 26.75 kB / 0.607 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.4845, allocations: 0.8464 MB / 0.6078 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.4848, allocations: 0.708 MB / 0.6085 GB, free: 9.605 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.653e-05/0.4849, allocations: 16.86 kB / 0.6085 GB, free: 9.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.485, allocations: 35.36 kB / 0.6086 GB, free: 9.555 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.485, allocations: 0 / 0.6086 GB, free: 9.555 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.4986, allocations: 2.922 MB / 0.6114 GB, free: 6.766 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.4988, allocations: 210.5 kB / 0.6116 GB, free: 6.523 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/2.013, allocations: 3.938 kB / 0.6116 GB, free: 6.52 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat