Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test54",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.002443/0.002443, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.303/2.303, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001215/0.001214, allocations: 91.39 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5421/0.5421, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005311/0.000531, allocations: 16 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1431, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5143/0.6575, allocations: 87.71 MB / 0.5645 GB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.6578, allocations: 71.97 kB / 0.5646 GB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02489/0.6827, allocations: 5.56 MB / 0.57 GB, free: 9.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6828, allocations: 3.938 kB / 0.57 GB, free: 9.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.6828, allocations: 4 kB / 0.57 GB, free: 9.316 MB / 394.7 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.0007036/0.6835, allocations: 447.2 kB / 0.5704 GB, free: 8.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.6836, allocations: 8.031 kB / 0.5704 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.6837, allocations: 34.56 kB / 0.5705 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.6837, allocations: 15.34 kB / 0.5705 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.6841, allocations: 218.8 kB / 0.5707 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.6842, allocations: 4 kB / 0.5707 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.6842, allocations: 3.938 kB / 0.5707 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.6844, allocations: 69.59 kB / 0.5708 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.6845, allocations: 3.281 kB / 0.5708 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.6845, allocations: 0 / 0.5708 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.6845, allocations: 1.031 kB / 0.5708 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.6846, allocations: 23.92 kB / 0.5708 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.6852, allocations: 300.8 kB / 0.5711 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.6854, allocations: 62.62 kB / 0.5711 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.6855, allocations: 0 / 0.5711 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.6857, allocations: 71.5 kB / 0.5712 GB, free: 7.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.6857, allocations: 0 / 0.5712 GB, free: 7.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008084/0.6865, allocations: 185.1 kB / 0.5714 GB, free: 7.734 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.6866, allocations: 51.41 kB / 0.5714 GB, free: 7.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.6869, allocations: 205.8 kB / 0.5716 GB, free: 7.461 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.6869, allocations: 25.7 kB / 0.5717 GB, free: 7.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/0.687, allocations: 166.6 kB / 0.5718 GB, free: 7.266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.6871, allocations: 23.64 kB / 0.5718 GB, free: 7.242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.6871, allocations: 8 kB / 0.5718 GB, free: 7.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6873, allocations: 314.8 kB / 0.5721 GB, free: 6.918 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-05/0.6874, allocations: 20 kB / 0.5722 GB, free: 6.898 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.6875, allocations: 37.64 kB / 0.5722 GB, free: 6.855 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.6876, allocations: 27.98 kB / 0.5722 GB, free: 6.828 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6876, allocations: 0 / 0.5722 GB, free: 6.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002856/0.6879, allocations: 93.62 kB / 0.5723 GB, free: 6.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.688, allocations: 7.984 kB / 0.5723 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.688, allocations: 4 kB / 0.5723 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.688, allocations: 0 / 0.5723 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.6881, allocations: 12 kB / 0.5723 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.6882, allocations: 3.953 kB / 0.5723 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.6883, allocations: 11.94 kB / 0.5723 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.6883, allocations: 11.98 kB / 0.5724 GB, free: 6.68 MB / 394.7 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 () * Number of clocked 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.0001471/0.6885, allocations: 122.6 kB / 0.5725 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.6885, allocations: 7.906 kB / 0.5725 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.6889, allocations: 131.2 kB / 0.5726 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6889, allocations: 0 / 0.5726 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6889, allocations: 96 / 0.5726 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.689, allocations: 7.891 kB / 0.5726 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007282/0.6897, allocations: 431.3 kB / 0.573 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.6897, allocations: 0 / 0.573 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/0.6898, allocations: 12.81 kB / 0.573 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.6898, allocations: 4 kB / 0.573 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.6899, allocations: 7.922 kB / 0.5731 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.6899, allocations: 3.953 kB / 0.5731 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6899, allocations: 0 / 0.5731 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.6903, allocations: 226 kB / 0.5733 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.31e-05/0.6904, allocations: 96.91 kB / 0.5734 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.6904, allocations: 8.328 kB / 0.5734 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.6906, allocations: 4 kB / 0.5734 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.6907, allocations: 15.97 kB / 0.5734 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.6907, allocations: 0 / 0.5734 GB, free: 5.512 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002497/0.691, allocations: 182.4 kB / 0.5736 GB, free: 5.336 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.691, allocations: 0 / 0.5736 GB, free: 5.336 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003649/0.6914, allocations: 31.94 kB / 0.5736 GB, free: 5.305 MB / 394.7 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) * Number of clocked states: 0 () * 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.001982/0.6934, allocations: 1.198 MB / 0.5748 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.6937, allocations: 63.91 kB / 0.5748 GB, free: 4.117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6937, allocations: 0 / 0.5748 GB, free: 4.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.6938, allocations: 39.98 kB / 0.5749 GB, free: 4.078 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.6942, allocations: 20.17 kB / 0.5749 GB, free: 4.055 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.6965, allocations: 0.975 MB / 0.5758 GB, free: 3.027 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.6969, allocations: 0.716 MB / 0.5765 GB, free: 2.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.697, allocations: 39.42 kB / 0.5766 GB, free: 2.246 MB / 394.7 MB Notification: Performance of SimCode: time 3.126e-06/0.697, allocations: 112 / 0.5766 GB, free: 2.246 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.731/3.428, allocations: 2.663 MB / 0.5792 GB, free: 15.59 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat