Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.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.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test67",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.002309/0.002309, allocations: 186.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.344/2.344, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001606/0.001606, allocations: 95.38 kB / 270.9 MB, free: 8.363 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.5645/0.5645, allocations: 43.56 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004898, allocations: 20 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.14, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5025/0.6426, allocations: 88.02 MB / 0.5648 GB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.643, allocations: 71.97 kB / 0.5649 GB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05185/0.6948, allocations: 11.03 MB / 0.5756 GB, free: 3.445 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6949, allocations: 0 / 0.5756 GB, free: 3.445 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.35e-05/0.695, allocations: 15.98 kB / 0.5756 GB, free: 3.43 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001734/0.6967, allocations: 0.7347 MB / 0.5764 GB, free: 2.648 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.6968, allocations: 12.03 kB / 0.5764 GB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.94e-05/0.6969, allocations: 50.55 kB / 0.5764 GB, free: 2.578 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.697, allocations: 54.78 kB / 0.5765 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.6984, allocations: 431 kB / 0.5769 GB, free: 2.066 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.6985, allocations: 11.98 kB / 0.5769 GB, free: 2.055 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.6985, allocations: 12 kB / 0.5769 GB, free: 2.043 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.6992, allocations: 217 kB / 0.5771 GB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.6992, allocations: 3.938 kB / 0.5771 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.6993, allocations: 11.98 kB / 0.5771 GB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.6993, allocations: 5.031 kB / 0.5771 GB, free: 1.793 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.6998, allocations: 107.9 kB / 0.5772 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.7014, allocations: 0.8878 MB / 0.5781 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.7026, allocations: 305.7 kB / 0.5784 GB, free: 400 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.7026, allocations: 7.984 kB / 0.5784 GB, free: 392 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006622/0.7033, allocations: 235.1 kB / 0.5786 GB, free: 132 kB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 3.426e-06/0.7033, allocations: 0 / 0.5786 GB, free: 132 kB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.003686/0.707, allocations: 0.9968 MB / 0.5796 GB, free: 15.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.7072, allocations: 174.1 kB / 0.5798 GB, free: 14.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.7085, allocations: 0.5566 MB / 0.5803 GB, free: 14.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.881e-05/0.7086, allocations: 41.7 kB / 0.5804 GB, free: 14.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.7088, allocations: 247.5 kB / 0.5806 GB, free: 14.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.709, allocations: 114.4 kB / 0.5807 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.709, allocations: 12 kB / 0.5807 GB, free: 13.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.7092, allocations: 326.8 kB / 0.581 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/0.7097, allocations: 100.8 kB / 0.5811 GB, free: 13.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.7102, allocations: 188.8 kB / 0.5813 GB, free: 13.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.7106, allocations: 116 kB / 0.5814 GB, free: 13.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.7107, allocations: 7.953 kB / 0.5814 GB, free: 13.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001233/0.7119, allocations: 369.5 kB / 0.5818 GB, free: 12.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.712, allocations: 4 kB / 0.5818 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.712, allocations: 4 kB / 0.5818 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.712, allocations: 8.156 kB / 0.5818 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/0.7126, allocations: 88.02 kB / 0.5819 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.7126, allocations: 4 kB / 0.5819 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004638/0.7131, allocations: 31.89 kB / 0.5819 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.7132, allocations: 16 kB / 0.5819 GB, free: 12.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0004812/0.7137, allocations: 216.2 kB / 0.5821 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.7138, allocations: 59.3 kB / 0.5822 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.7155, allocations: 493.1 kB / 0.5827 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.7155, allocations: 4 kB / 0.5827 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.7156, allocations: 0 / 0.5827 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.7156, allocations: 7.938 kB / 0.5827 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.7187, allocations: 1.37 MB / 0.584 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.7187, allocations: 4 kB / 0.584 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.7191, allocations: 59.91 kB / 0.5841 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/0.7191, allocations: 4 kB / 0.5841 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.7192, allocations: 12 kB / 0.5841 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.7192, allocations: 7.984 kB / 0.5841 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-05/0.7192, allocations: 11.89 kB / 0.5841 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.721, allocations: 0.9448 MB / 0.585 GB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.7213, allocations: 160.4 kB / 0.5852 GB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.7214, allocations: 16 kB / 0.5852 GB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/0.722, allocations: 23.98 kB / 0.5852 GB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.7222, allocations: 35.95 kB / 0.5852 GB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/0.7222, allocations: 19.98 kB / 0.5853 GB, free: 9.023 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009585/0.7232, allocations: 454.8 kB / 0.5857 GB, free: 8.582 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7232, allocations: 4 kB / 0.5857 GB, free: 8.578 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009484/0.7242, allocations: 115.8 kB / 0.5858 GB, free: 8.465 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003829/0.728, allocations: 2.499 MB / 0.5883 GB, free: 5.992 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.7293, allocations: 312.1 kB / 0.5885 GB, free: 5.688 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.7294, allocations: 0 / 0.5885 GB, free: 5.688 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006527/0.73, allocations: 169.6 kB / 0.5887 GB, free: 5.523 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.7314, allocations: 126.5 kB / 0.5888 GB, free: 5.402 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007798/0.7392, allocations: 4.16 MB / 0.5929 GB, free: 1.102 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.7399, allocations: 0.8706 MB / 0.5937 GB, free: 212 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005038/0.7404, allocations: 175.4 kB / 0.5939 GB, free: 36 kB / 410.7 MB Notification: Performance of SimCode: time 1.193e-06/0.7404, allocations: 3.938 kB / 0.5939 GB, free: 32 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.765/3.505, allocations: 8.515 MB / 0.6022 GB, free: 7.523 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat