Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21",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.001458/0.001458, allocations: 178.1 kB / 8.362 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.099/2.099, 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.00107/0.001069, allocations: 81.75 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.2977/0.2977, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.859e-05/3.907e-05, allocations: 8 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.5052, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.6751, allocations: 86.96 MB / 0.5509 GB, free: 12.25 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003676/0.6755, allocations: 75.47 kB / 0.551 GB, free: 12.18 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0239/0.6995, allocations: 5.326 MB / 0.5562 GB, free: 6.855 MB / 395.1 MB Notification: Performance of FrontEnd: time 5.22e-06/0.6995, allocations: 0 / 0.5562 GB, free: 6.855 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.6996, allocations: 11.94 kB / 0.5562 GB, free: 6.844 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.0005762/0.7002, allocations: 390.9 kB / 0.5566 GB, free: 6.418 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.7002, allocations: 8.031 kB / 0.5566 GB, free: 6.41 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.7003, allocations: 7.906 kB / 0.5566 GB, free: 6.402 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.7007, allocations: 225.5 kB / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.7007, allocations: 0 / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.7008, allocations: 4 kB / 0.5568 GB, free: 6.141 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.713e-05/0.7009, allocations: 19.98 kB / 0.5568 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.701, allocations: 57.66 kB / 0.5569 GB, free: 6.059 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.7011, allocations: 4 kB / 0.5569 GB, free: 6.055 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.7011, allocations: 0 / 0.5569 GB, free: 6.055 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.7011, allocations: 0 / 0.5569 GB, free: 6.055 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.7016, allocations: 265.5 kB / 0.5572 GB, free: 5.758 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.7017, allocations: 50.62 kB / 0.5572 GB, free: 5.699 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.7018, allocations: 20.98 kB / 0.5572 GB, free: 5.676 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.7018, allocations: 0 / 0.5572 GB, free: 5.676 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.702, allocations: 63.39 kB / 0.5573 GB, free: 5.602 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.385e-06/0.7021, allocations: 7.938 kB / 0.5573 GB, free: 5.594 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.000616/0.7027, allocations: 149.1 kB / 0.5574 GB, free: 5.441 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.7027, allocations: 55.34 kB / 0.5575 GB, free: 5.375 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.703, allocations: 174.9 kB / 0.5576 GB, free: 5.199 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.703, allocations: 29.7 kB / 0.5577 GB, free: 5.164 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.35e-05/0.7031, allocations: 162.6 kB / 0.5578 GB, free: 5.004 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.7032, allocations: 19.72 kB / 0.5579 GB, free: 4.984 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.7032, allocations: 0 / 0.5579 GB, free: 4.984 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.7033, allocations: 314.8 kB / 0.5582 GB, free: 4.668 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-05/0.7034, allocations: 16 kB / 0.5582 GB, free: 4.652 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.7035, allocations: 37.66 kB / 0.5582 GB, free: 4.609 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.555e-05/0.7036, allocations: 23.98 kB / 0.5582 GB, free: 4.586 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7036, allocations: 0 / 0.5582 GB, free: 4.586 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002173/0.7038, allocations: 81.59 kB / 0.5583 GB, free: 4.5 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.7039, allocations: 4 kB / 0.5583 GB, free: 4.496 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.7039, allocations: 4 kB / 0.5583 GB, free: 4.492 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.7039, allocations: 0 / 0.5583 GB, free: 4.492 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.7041, allocations: 19.92 kB / 0.5583 GB, free: 4.473 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.7041, allocations: 0 / 0.5583 GB, free: 4.473 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.68e-05/0.7042, allocations: 4.188 kB / 0.5583 GB, free: 4.469 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.7042, allocations: 11.98 kB / 0.5583 GB, free: 4.457 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 0.0001023/0.7043, allocations: 105 kB / 0.5584 GB, free: 4.348 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002274/0.7046, allocations: 97.56 kB / 0.5585 GB, free: 4.246 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.7046, allocations: 11.91 kB / 0.5586 GB, free: 4.234 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.7049, allocations: 122.3 kB / 0.5587 GB, free: 4.109 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.705, allocations: 0 / 0.5587 GB, free: 4.109 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.705, allocations: 3.953 kB / 0.5587 GB, free: 4.105 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.705, allocations: 0 / 0.5587 GB, free: 4.105 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.7056, allocations: 375.9 kB / 0.559 GB, free: 3.691 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7056, allocations: 0 / 0.559 GB, free: 3.691 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-05/0.7057, allocations: 8 kB / 0.559 GB, free: 3.684 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.7057, allocations: 4.281 kB / 0.559 GB, free: 3.68 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.7057, allocations: 0 / 0.559 GB, free: 3.68 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/0.7057, allocations: 7.891 kB / 0.559 GB, free: 3.672 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.7058, allocations: 7.922 kB / 0.5591 GB, free: 3.664 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.7061, allocations: 214 kB / 0.5593 GB, free: 3.43 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.224e-05/0.7062, allocations: 92.92 kB / 0.5593 GB, free: 3.32 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.7062, allocations: 3.953 kB / 0.5594 GB, free: 3.316 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.7064, allocations: 15.86 kB / 0.5594 GB, free: 3.301 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.7064, allocations: 4 kB / 0.5594 GB, free: 3.297 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.7064, allocations: 8 kB / 0.5594 GB, free: 3.289 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001666/0.7066, allocations: 135.4 kB / 0.5595 GB, free: 3.156 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7066, allocations: 4 kB / 0.5595 GB, free: 3.152 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003878/0.707, allocations: 28 kB / 0.5595 GB, free: 3.125 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.002092/0.7091, allocations: 1.096 MB / 0.5606 GB, free: 2.043 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.7094, allocations: 51.94 kB / 0.5607 GB, free: 1.992 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.7094, allocations: 4.062 kB / 0.5607 GB, free: 1.988 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.458e-05/0.7095, allocations: 27.98 kB / 0.5607 GB, free: 1.961 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.7099, allocations: 27.78 kB / 0.5607 GB, free: 1.934 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007671/0.7107, allocations: 252.5 kB / 0.561 GB, free: 1.633 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.7111, allocations: 0.708 MB / 0.5616 GB, free: 0.8984 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.7112, allocations: 39.42 kB / 0.5617 GB, free: 0.8594 MB / 395.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7112, allocations: 0 / 0.5617 GB, free: 0.8594 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.667/3.378, allocations: 2.452 MB / 0.5641 GB, free: 14.41 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat