Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test74",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.001518/0.001518, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001085, allocations: 93.92 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2963/0.2963, allocations: 43.5 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.857e-05/2.874e-05, allocations: 12.2 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3965, allocations: 58.85 MB / 477.2 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.5553, allocations: 87.07 MB / 0.551 GB, free: 12.2 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.5556, allocations: 71.97 kB / 0.5511 GB, free: 12.13 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03513/0.5908, allocations: 7.761 MB / 0.5587 GB, free: 4.359 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5908, allocations: 0 / 0.5587 GB, free: 4.359 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.088e-05/0.5909, allocations: 4 kB / 0.5587 GB, free: 4.355 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008625/0.5917, allocations: 0.5022 MB / 0.5592 GB, free: 3.809 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.5918, allocations: 12.03 kB / 0.5592 GB, free: 3.797 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.5919, allocations: 31.58 kB / 0.5592 GB, free: 3.766 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007224/0.5927, allocations: 303.8 kB / 0.5595 GB, free: 3.43 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.5927, allocations: 4 kB / 0.5595 GB, free: 3.426 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.5927, allocations: 4 kB / 0.5595 GB, free: 3.422 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000156/0.5929, allocations: 35.98 kB / 0.5596 GB, free: 3.387 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.5931, allocations: 87.36 kB / 0.5596 GB, free: 3.289 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.5932, allocations: 0 / 0.5596 GB, free: 3.289 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.5932, allocations: 0 / 0.5596 GB, free: 3.289 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.5932, allocations: 11.95 kB / 0.5597 GB, free: 3.277 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008242/0.594, allocations: 449.5 kB / 0.5601 GB, free: 2.797 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.5943, allocations: 105.5 kB / 0.5602 GB, free: 2.676 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.5944, allocations: 45.77 kB / 0.5602 GB, free: 2.625 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.5945, allocations: 4 kB / 0.5602 GB, free: 2.621 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.5947, allocations: 108.9 kB / 0.5603 GB, free: 2.496 MB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 2.625e-06/0.5948, allocations: 0 / 0.5603 GB, free: 2.496 MB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.00109/0.5959, allocations: 331.7 kB / 0.5606 GB, free: 2.164 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.5959, allocations: 77.11 kB / 0.5607 GB, free: 2.07 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007875/0.5967, allocations: 422.3 kB / 0.5611 GB, free: 1.652 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.5968, allocations: 25.7 kB / 0.5611 GB, free: 1.621 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.597, allocations: 198.8 kB / 0.5613 GB, free: 1.422 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.84e-05/0.597, allocations: 51.3 kB / 0.5614 GB, free: 1.371 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.5971, allocations: 0 / 0.5614 GB, free: 1.371 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5972, allocations: 318.8 kB / 0.5617 GB, free: 1.051 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.5973, allocations: 40 kB / 0.5617 GB, free: 1.012 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.5975, allocations: 63.42 kB / 0.5618 GB, free: 0.9375 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.5976, allocations: 39.97 kB / 0.5618 GB, free: 0.8984 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5976, allocations: 0 / 0.5618 GB, free: 0.8984 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004199/0.5981, allocations: 141.5 kB / 0.562 GB, free: 0.7539 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.5981, allocations: 8.062 kB / 0.562 GB, free: 0.7461 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.5981, allocations: 7.984 kB / 0.562 GB, free: 0.7383 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.5982, allocations: 3.938 kB / 0.562 GB, free: 0.7344 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.5984, allocations: 31.98 kB / 0.562 GB, free: 0.7031 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.5985, allocations: 0 / 0.562 GB, free: 0.7031 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.5987, allocations: 4 kB / 0.562 GB, free: 0.6992 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.5987, allocations: 12 kB / 0.562 GB, free: 0.6875 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001208/0.5988, allocations: 112.9 kB / 0.5621 GB, free: 0.5703 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004479/0.5993, allocations: 177.2 kB / 0.5623 GB, free: 400 kB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.5994, allocations: 35.62 kB / 0.5623 GB, free: 364 kB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005806/0.6, allocations: 204.9 kB / 0.5625 GB, free: 152 kB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.6, allocations: 0 / 0.5625 GB, free: 152 kB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.6, allocations: 4 kB / 0.5625 GB, free: 148 kB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.6, allocations: 192 / 0.5625 GB, free: 148 kB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.6014, allocations: 0.6559 MB / 0.5632 GB, free: 15.44 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.6014, allocations: 3.938 kB / 0.5632 GB, free: 15.43 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.6016, allocations: 24 kB / 0.5632 GB, free: 15.41 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.6016, allocations: 0 / 0.5632 GB, free: 15.41 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.6016, allocations: 11.92 kB / 0.5632 GB, free: 15.4 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.6017, allocations: 4.312 kB / 0.5632 GB, free: 15.39 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.6017, allocations: 4 kB / 0.5632 GB, free: 15.39 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.6023, allocations: 394.5 kB / 0.5636 GB, free: 14.96 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.6025, allocations: 128.7 kB / 0.5637 GB, free: 14.82 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/0.6026, allocations: 11.95 kB / 0.5637 GB, free: 14.81 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.6029, allocations: 7.984 kB / 0.5637 GB, free: 14.8 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.603, allocations: 19.98 kB / 0.5638 GB, free: 14.78 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.603, allocations: 11.94 kB / 0.5638 GB, free: 14.77 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0005809/0.6036, allocations: 332.5 kB / 0.5641 GB, free: 14.45 MB / 411.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6036, allocations: 0 / 0.5641 GB, free: 14.45 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005623/0.6042, allocations: 55.92 kB / 0.5641 GB, free: 14.39 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002151/0.6063, allocations: 1.427 MB / 0.5655 GB, free: 12.96 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.6068, allocations: 103.9 kB / 0.5656 GB, free: 12.86 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.6068, allocations: 4 kB / 0.5656 GB, free: 12.86 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.6069, allocations: 56.66 kB / 0.5657 GB, free: 12.8 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.6077, allocations: 56.61 kB / 0.5657 GB, free: 12.75 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.6093, allocations: 0.5626 MB / 0.5663 GB, free: 12.14 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.6098, allocations: 0.7789 MB / 0.5671 GB, free: 11.33 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.6101, allocations: 95.34 kB / 0.5671 GB, free: 11.24 MB / 411.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6101, allocations: 0 / 0.5671 GB, free: 11.24 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.401/4.011, allocations: 4.965 MB / 0.572 GB, free: 6.281 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat