Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test28",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.002283/0.002283, allocations: 179 kB / 8.364 MB, free: 0.7109 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.246/2.246, 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.001102/0.001102, allocations: 83.33 kB / 262.1 MB, free: 13.88 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.2928/0.2928, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.438e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.5631, allocations: 86.93 MB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.5634, allocations: 71.97 kB / 0.551 GB, free: 12.2 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02359/0.587, allocations: 5.23 MB / 0.5561 GB, free: 6.973 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5871, allocations: 0 / 0.5561 GB, free: 6.973 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.5871, allocations: 3.938 kB / 0.5561 GB, free: 6.969 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005446/0.5877, allocations: 398.9 kB / 0.5565 GB, free: 6.535 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.5877, allocations: 16.03 kB / 0.5565 GB, free: 6.52 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.5878, allocations: 7.906 kB / 0.5565 GB, free: 6.512 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.5882, allocations: 225.5 kB / 0.5567 GB, free: 6.254 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.5882, allocations: 0 / 0.5567 GB, free: 6.254 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.5883, allocations: 4 kB / 0.5567 GB, free: 6.25 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.965e-05/0.5884, allocations: 12 kB / 0.5567 GB, free: 6.238 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.5885, allocations: 53.67 kB / 0.5568 GB, free: 6.18 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5885, allocations: 0 / 0.5568 GB, free: 6.18 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.5885, allocations: 0 / 0.5568 GB, free: 6.18 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5886, allocations: 4 kB / 0.5568 GB, free: 6.176 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.589, allocations: 273.5 kB / 0.557 GB, free: 5.871 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.5892, allocations: 54.61 kB / 0.5571 GB, free: 5.809 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/0.5892, allocations: 20.97 kB / 0.5571 GB, free: 5.785 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.5893, allocations: 0 / 0.5571 GB, free: 5.785 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.5894, allocations: 63.41 kB / 0.5572 GB, free: 5.711 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.5894, allocations: 0 / 0.5572 GB, free: 5.711 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005662/0.59, allocations: 153.1 kB / 0.5573 GB, free: 5.555 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.5901, allocations: 51.41 kB / 0.5574 GB, free: 5.492 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.5903, allocations: 174.8 kB / 0.5575 GB, free: 5.316 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.5903, allocations: 25.7 kB / 0.5575 GB, free: 5.285 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.5904, allocations: 158.6 kB / 0.5577 GB, free: 5.129 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.5905, allocations: 23.7 kB / 0.5577 GB, free: 5.105 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.5905, allocations: 4 kB / 0.5577 GB, free: 5.102 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.5906, allocations: 314.8 kB / 0.558 GB, free: 4.785 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.745e-05/0.5907, allocations: 16 kB / 0.558 GB, free: 4.77 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.575e-05/0.5908, allocations: 41.58 kB / 0.5581 GB, free: 4.723 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.725e-05/0.5909, allocations: 20 kB / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.5909, allocations: 0 / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002182/0.5911, allocations: 89.56 kB / 0.5582 GB, free: 4.609 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5911, allocations: 4.031 kB / 0.5582 GB, free: 4.605 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5912, allocations: 4 kB / 0.5582 GB, free: 4.602 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.5912, allocations: 4 kB / 0.5582 GB, free: 4.598 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.5913, allocations: 15.94 kB / 0.5582 GB, free: 4.582 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.5914, allocations: 0 / 0.5582 GB, free: 4.582 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.284e-05/0.5914, allocations: 7.984 kB / 0.5582 GB, free: 4.574 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.5915, allocations: 7.953 kB / 0.5582 GB, free: 4.566 MB / 395.1 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 () * 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 8.675e-05/0.5916, allocations: 105 kB / 0.5583 GB, free: 4.457 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000215/0.5918, allocations: 89.58 kB / 0.5584 GB, free: 4.363 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.5918, allocations: 15.91 kB / 0.5584 GB, free: 4.348 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.5922, allocations: 118.3 kB / 0.5585 GB, free: 4.227 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.5922, allocations: 0 / 0.5585 GB, free: 4.227 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.5922, allocations: 7.938 kB / 0.5585 GB, free: 4.219 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5922, allocations: 0 / 0.5585 GB, free: 4.219 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005755/0.5928, allocations: 371.9 kB / 0.5589 GB, free: 3.809 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5928, allocations: 0 / 0.5589 GB, free: 3.809 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.539e-05/0.5929, allocations: 11.98 kB / 0.5589 GB, free: 3.797 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.5929, allocations: 4.031 kB / 0.5589 GB, free: 3.793 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.593, allocations: 4 kB / 0.5589 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.593, allocations: 7.891 kB / 0.5589 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.593, allocations: 0 / 0.5589 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.5933, allocations: 206 kB / 0.5591 GB, free: 3.555 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.5934, allocations: 101.4 kB / 0.5592 GB, free: 3.438 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.5934, allocations: 11.95 kB / 0.5592 GB, free: 3.426 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.5936, allocations: 4 kB / 0.5592 GB, free: 3.422 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.5936, allocations: 15.92 kB / 0.5593 GB, free: 3.406 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.5936, allocations: 3.938 kB / 0.5593 GB, free: 3.402 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.5938, allocations: 139.4 kB / 0.5594 GB, free: 3.266 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5938, allocations: 0 / 0.5594 GB, free: 3.266 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003839/0.5942, allocations: 27.98 kB / 0.5594 GB, free: 3.238 MB / 395.1 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) * 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.001627/0.5959, allocations: 1.098 MB / 0.5605 GB, free: 2.16 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.5961, allocations: 59.86 kB / 0.5605 GB, free: 2.102 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5961, allocations: 0 / 0.5605 GB, free: 2.102 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/0.5962, allocations: 35.92 kB / 0.5606 GB, free: 2.066 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.5966, allocations: 23.84 kB / 0.5606 GB, free: 2.043 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007448/0.5974, allocations: 256.6 kB / 0.5608 GB, free: 1.738 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.5977, allocations: 0.708 MB / 0.5615 GB, free: 1.004 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.462e-05/0.5978, allocations: 35.42 kB / 0.5616 GB, free: 0.9688 MB / 395.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5978, allocations: 0 / 0.5616 GB, free: 0.9688 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.901/3.499, allocations: 2.456 MB / 0.564 GB, free: 14.52 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat