Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77",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.001418/0.001418, allocations: 179.4 kB / 8.364 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.041/2.041, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001083/0.001083, allocations: 88.91 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.3747/0.3747, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.652e-05, allocations: 12.22 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4647, allocations: 58.86 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1709/0.6357, allocations: 87.06 MB / 0.551 GB, free: 12.13 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.636, allocations: 75.95 kB / 0.5511 GB, free: 12.05 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04462/0.6807, allocations: 7.45 MB / 0.5584 GB, free: 4.598 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6808, allocations: 0 / 0.5584 GB, free: 4.598 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.329e-05/0.6808, allocations: 0 / 0.5584 GB, free: 4.598 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.001147/0.682, allocations: 478.4 kB / 0.5588 GB, free: 4.086 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.726e-05/0.6821, allocations: 12.02 kB / 0.5588 GB, free: 4.074 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.6822, allocations: 27.72 kB / 0.5589 GB, free: 4.047 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009159/0.6832, allocations: 278.5 kB / 0.5591 GB, free: 3.73 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.6832, allocations: 3.938 kB / 0.5591 GB, free: 3.727 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.6833, allocations: 4 kB / 0.5591 GB, free: 3.723 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002025/0.6835, allocations: 43.97 kB / 0.5592 GB, free: 3.68 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.6839, allocations: 87.31 kB / 0.5593 GB, free: 3.582 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.6839, allocations: 4 kB / 0.5593 GB, free: 3.578 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.6839, allocations: 0 / 0.5593 GB, free: 3.578 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.684, allocations: 4 kB / 0.5593 GB, free: 3.574 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.6851, allocations: 425.5 kB / 0.5597 GB, free: 3.117 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.6855, allocations: 109.4 kB / 0.5598 GB, free: 2.992 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.6857, allocations: 37.83 kB / 0.5598 GB, free: 2.949 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.6857, allocations: 4 kB / 0.5598 GB, free: 2.945 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003736/0.6861, allocations: 112.9 kB / 0.5599 GB, free: 2.816 MB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 3.707e-06/0.6861, allocations: 4 kB / 0.5599 GB, free: 2.812 MB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.001526/0.6877, allocations: 300.1 kB / 0.5602 GB, free: 2.512 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.6878, allocations: 85.09 kB / 0.5603 GB, free: 2.41 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.6886, allocations: 310.2 kB / 0.5606 GB, free: 2.105 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.6887, allocations: 25.7 kB / 0.5606 GB, free: 2.074 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.6889, allocations: 186.8 kB / 0.5608 GB, free: 1.887 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.6891, allocations: 51.3 kB / 0.5609 GB, free: 1.836 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.6891, allocations: 0 / 0.5609 GB, free: 1.836 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.6893, allocations: 322.8 kB / 0.5612 GB, free: 1.512 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.6895, allocations: 36 kB / 0.5612 GB, free: 1.477 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.6897, allocations: 67.36 kB / 0.5613 GB, free: 1.398 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.69, allocations: 39.98 kB / 0.5613 GB, free: 1.359 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.69, allocations: 0 / 0.5613 GB, free: 1.359 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000604/0.6906, allocations: 137.6 kB / 0.5614 GB, free: 1.219 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.6907, allocations: 8.062 kB / 0.5614 GB, free: 1.211 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.6907, allocations: 7.953 kB / 0.5614 GB, free: 1.203 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.6908, allocations: 0 / 0.5614 GB, free: 1.203 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.6911, allocations: 39.92 kB / 0.5615 GB, free: 1.164 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6912, allocations: 320 / 0.5615 GB, free: 1.164 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.6914, allocations: 7.906 kB / 0.5615 GB, free: 1.156 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.6915, allocations: 11.98 kB / 0.5615 GB, free: 1.145 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.0001777/0.6917, allocations: 105 kB / 0.5616 GB, free: 1.035 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007284/0.6924, allocations: 169.3 kB / 0.5618 GB, free: 0.8633 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.6926, allocations: 31.67 kB / 0.5618 GB, free: 0.832 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008664/0.6935, allocations: 195.3 kB / 0.562 GB, free: 0.6328 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.6935, allocations: 4 kB / 0.562 GB, free: 0.6289 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.6935, allocations: 0 / 0.562 GB, free: 0.6289 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.6935, allocations: 0 / 0.562 GB, free: 0.6289 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.6953, allocations: 0.6169 MB / 0.5626 GB, free: 15.96 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.6953, allocations: 384 / 0.5626 GB, free: 15.96 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.6955, allocations: 23.92 kB / 0.5626 GB, free: 15.94 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.348e-05/0.6956, allocations: 8 kB / 0.5626 GB, free: 15.93 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.6956, allocations: 3.938 kB / 0.5626 GB, free: 15.93 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.6957, allocations: 4 kB / 0.5626 GB, free: 15.92 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.6957, allocations: 0 / 0.5626 GB, free: 15.92 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.6965, allocations: 398.5 kB / 0.563 GB, free: 15.49 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.6968, allocations: 112.8 kB / 0.5631 GB, free: 15.36 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-05/0.6969, allocations: 8 kB / 0.5631 GB, free: 15.36 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004352/0.6973, allocations: 7.984 kB / 0.5631 GB, free: 15.35 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.6974, allocations: 19.94 kB / 0.5631 GB, free: 15.33 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.6975, allocations: 4 kB / 0.5632 GB, free: 15.32 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.00062/0.6981, allocations: 250 kB / 0.5634 GB, free: 15.08 MB / 411.1 MB Notification: Performance of sort global known variables: time 6.22e-07/0.6981, allocations: 0 / 0.5634 GB, free: 15.08 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0009961/0.6991, allocations: 55.83 kB / 0.5634 GB, free: 15.02 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.003308/0.7025, allocations: 1.421 MB / 0.5648 GB, free: 13.61 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005032/0.703, allocations: 107.9 kB / 0.5649 GB, free: 13.51 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7031, allocations: 0 / 0.5649 GB, free: 13.51 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.7033, allocations: 60.05 kB / 0.565 GB, free: 13.45 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009585/0.7043, allocations: 52.56 kB / 0.565 GB, free: 13.4 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.7065, allocations: 452.3 kB / 0.5655 GB, free: 12.91 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/0.7072, allocations: 0.7633 MB / 0.5662 GB, free: 12.12 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.7076, allocations: 79.34 kB / 0.5663 GB, free: 12.04 MB / 411.1 MB Notification: Performance of SimCode: time 1.423e-06/0.7076, allocations: 0 / 0.5663 GB, free: 12.04 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.708/3.416, allocations: 4.269 MB / 0.5705 GB, free: 7.781 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat