Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test48",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.002208/0.002208, allocations: 178 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.217/2.217, 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.00108/0.001079, allocations: 91.84 kB / 262.1 MB, free: 13.87 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.2962/0.2962, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.63e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4255, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.5923, allocations: 86.97 MB / 0.5509 GB, free: 12.22 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.5926, allocations: 67.97 kB / 0.551 GB, free: 12.15 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02604/0.6187, allocations: 5.642 MB / 0.5565 GB, free: 6.512 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6187, allocations: 0 / 0.5565 GB, free: 6.512 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.568e-05/0.6188, allocations: 7.938 kB / 0.5565 GB, free: 6.504 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.0006809/0.6195, allocations: 414.8 kB / 0.5569 GB, free: 6.055 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.6195, allocations: 8.031 kB / 0.5569 GB, free: 6.047 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.846e-05/0.6196, allocations: 11.91 kB / 0.5569 GB, free: 6.035 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.6201, allocations: 234.6 kB / 0.5572 GB, free: 5.766 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.6201, allocations: 3.984 kB / 0.5572 GB, free: 5.762 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.6202, allocations: 4 kB / 0.5572 GB, free: 5.758 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.673e-05/0.6203, allocations: 16 kB / 0.5572 GB, free: 5.742 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.6204, allocations: 53.61 kB / 0.5572 GB, free: 5.684 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.6204, allocations: 4 kB / 0.5572 GB, free: 5.68 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.6205, allocations: 4 kB / 0.5572 GB, free: 5.676 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-06/0.6205, allocations: 0 / 0.5572 GB, free: 5.676 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005214/0.621, allocations: 289.3 kB / 0.5575 GB, free: 5.355 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.6212, allocations: 50.69 kB / 0.5576 GB, free: 5.297 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.6213, allocations: 16.98 kB / 0.5576 GB, free: 5.277 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.6213, allocations: 4 kB / 0.5576 GB, free: 5.273 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.6215, allocations: 63.3 kB / 0.5576 GB, free: 5.199 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.923e-06/0.6215, allocations: 0 / 0.5576 GB, free: 5.199 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006473/0.6222, allocations: 157.1 kB / 0.5578 GB, free: 5.039 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.6222, allocations: 51.41 kB / 0.5578 GB, free: 4.977 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003938/0.6226, allocations: 237.7 kB / 0.5581 GB, free: 4.734 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.6227, allocations: 25.7 kB / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.6228, allocations: 174.6 kB / 0.5583 GB, free: 4.531 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.6228, allocations: 27.64 kB / 0.5583 GB, free: 4.504 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.6229, allocations: 0 / 0.5583 GB, free: 4.504 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.623, allocations: 310.8 kB / 0.5586 GB, free: 4.191 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.6231, allocations: 20 kB / 0.5586 GB, free: 4.172 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.869e-05/0.6232, allocations: 37.64 kB / 0.5586 GB, free: 4.129 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.782e-05/0.6233, allocations: 23.98 kB / 0.5587 GB, free: 4.105 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6233, allocations: 4 kB / 0.5587 GB, free: 4.102 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002221/0.6235, allocations: 73.69 kB / 0.5587 GB, free: 4.023 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.6236, allocations: 8 kB / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6236, allocations: 0 / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.6236, allocations: 0 / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.6238, allocations: 20.11 kB / 0.5588 GB, free: 3.996 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.6238, allocations: 4 kB / 0.5588 GB, free: 3.992 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.222e-05/0.6239, allocations: 4 kB / 0.5588 GB, free: 3.988 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.6239, allocations: 7.953 kB / 0.5588 GB, free: 3.98 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.0001094/0.624, allocations: 109 kB / 0.5589 GB, free: 3.867 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002453/0.6243, allocations: 101.5 kB / 0.559 GB, free: 3.762 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.6244, allocations: 19.75 kB / 0.559 GB, free: 3.742 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/0.6247, allocations: 119.8 kB / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6247, allocations: 0 / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.6248, allocations: 3.953 kB / 0.5591 GB, free: 3.617 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.6248, allocations: 0 / 0.5591 GB, free: 3.617 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007393/0.6255, allocations: 403.8 kB / 0.5595 GB, free: 3.176 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.6256, allocations: 0 / 0.5595 GB, free: 3.176 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.561e-05/0.6257, allocations: 19.92 kB / 0.5595 GB, free: 3.156 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.6257, allocations: 0 / 0.5595 GB, free: 3.156 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.6257, allocations: 0 / 0.5595 GB, free: 3.156 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.6257, allocations: 7.953 kB / 0.5595 GB, free: 3.148 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.6257, allocations: 0 / 0.5595 GB, free: 3.148 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.6261, allocations: 217.9 kB / 0.5597 GB, free: 2.91 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.6262, allocations: 104.9 kB / 0.5598 GB, free: 2.789 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.6263, allocations: 3.953 kB / 0.5598 GB, free: 2.785 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.6264, allocations: 4 kB / 0.5598 GB, free: 2.781 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.6265, allocations: 11.92 kB / 0.5598 GB, free: 2.77 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.6265, allocations: 4 kB / 0.5599 GB, free: 2.766 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002848/0.6268, allocations: 188.2 kB / 0.56 GB, free: 2.582 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6268, allocations: 0 / 0.56 GB, free: 2.582 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003993/0.6272, allocations: 31.94 kB / 0.5601 GB, free: 2.551 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.001903/0.6292, allocations: 1.111 MB / 0.5611 GB, free: 1.461 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.6295, allocations: 51.94 kB / 0.5612 GB, free: 1.41 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.6295, allocations: 4 kB / 0.5612 GB, free: 1.406 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.427e-05/0.6296, allocations: 32 kB / 0.5612 GB, free: 1.375 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.6301, allocations: 27.83 kB / 0.5613 GB, free: 1.348 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009495/0.6311, allocations: 317.2 kB / 0.5616 GB, free: 0.9922 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.6315, allocations: 0.7197 MB / 0.5623 GB, free: 252 kB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.6316, allocations: 39.42 kB / 0.5623 GB, free: 212 kB / 395.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6316, allocations: 64 / 0.5623 GB, free: 212 kB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.713/3.345, allocations: 2.871 MB / 0.5651 GB, free: 13.34 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat