Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.001178/0.001178, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008896/0.0008896, allocations: 90.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2431/0.2431, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.00033, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 58.87 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4351/0.5703, allocations: 87.95 MB / 0.5648 GB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5707, allocations: 73.47 kB / 0.5648 GB, free: 11.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01695/0.5876, allocations: 6.219 MB / 0.5709 GB, free: 6.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5877, allocations: 4 kB / 0.5709 GB, free: 6.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.5877, allocations: 0 / 0.5709 GB, free: 6.77 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005988/0.5883, allocations: 419.3 kB / 0.5713 GB, free: 6.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.5884, allocations: 8.031 kB / 0.5713 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.722e-05/0.5884, allocations: 34.56 kB / 0.5713 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.5885, allocations: 7.906 kB / 0.5714 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.5889, allocations: 218.7 kB / 0.5716 GB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.5889, allocations: 7.984 kB / 0.5716 GB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.5889, allocations: 0 / 0.5716 GB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.5891, allocations: 74.83 kB / 0.5716 GB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.5891, allocations: 11.91 kB / 0.5716 GB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.5892, allocations: 0 / 0.5716 GB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.5892, allocations: 0 / 0.5716 GB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.5893, allocations: 35.72 kB / 0.5717 GB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.5898, allocations: 299.8 kB / 0.572 GB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.59, allocations: 73.98 kB / 0.572 GB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.59, allocations: 4.062 kB / 0.572 GB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.5902, allocations: 86.84 kB / 0.5721 GB, free: 5.418 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.5902, allocations: 0 / 0.5721 GB, free: 5.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006236/0.5908, allocations: 206.2 kB / 0.5723 GB, free: 5.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.5909, allocations: 77.11 kB / 0.5724 GB, free: 5.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.591, allocations: 152.5 kB / 0.5725 GB, free: 5.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.5911, allocations: 29.02 kB / 0.5726 GB, free: 4.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.5911, allocations: 92.77 kB / 0.5727 GB, free: 4.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.5912, allocations: 33.98 kB / 0.5727 GB, free: 4.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.5912, allocations: 4 kB / 0.5727 GB, free: 4.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5913, allocations: 322.6 kB / 0.573 GB, free: 4.543 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.855e-05/0.5914, allocations: 34.42 kB / 0.573 GB, free: 4.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.5915, allocations: 48.81 kB / 0.5731 GB, free: 4.473 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.183e-05/0.5915, allocations: 31.92 kB / 0.5731 GB, free: 4.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.5916, allocations: 0 / 0.5731 GB, free: 4.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002126/0.5918, allocations: 119 kB / 0.5732 GB, free: 4.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.5918, allocations: 4 kB / 0.5732 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.5918, allocations: 0 / 0.5732 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5918, allocations: 0 / 0.5732 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.5919, allocations: 26.73 kB / 0.5733 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.592, allocations: 3.953 kB / 0.5733 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.317e-05/0.592, allocations: 4 kB / 0.5733 GB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.592, allocations: 4 kB / 0.5733 GB, free: 4.312 MB / 378.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 (11): * Single equations (assignments): 11 * 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.0001073/0.5922, allocations: 128.6 kB / 0.5734 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.5922, allocations: 11.91 kB / 0.5734 GB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.5925, allocations: 142.1 kB / 0.5735 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5925, allocations: 0 / 0.5735 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5925, allocations: 4.125 kB / 0.5735 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.954e-06/0.5925, allocations: 3.953 kB / 0.5735 GB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.5931, allocations: 443.8 kB / 0.574 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5931, allocations: 4 kB / 0.574 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.5932, allocations: 16.03 kB / 0.574 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.5932, allocations: 0 / 0.574 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.5932, allocations: 3.953 kB / 0.574 GB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5932, allocations: 4.469 kB / 0.574 GB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5932, allocations: 0 / 0.574 GB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.5935, allocations: 238.1 kB / 0.5742 GB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.5936, allocations: 100.5 kB / 0.5743 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.5936, allocations: 7.891 kB / 0.5743 GB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.5937, allocations: 4 kB / 0.5743 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.5938, allocations: 11.36 kB / 0.5743 GB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.5938, allocations: 4 kB / 0.5743 GB, free: 3.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.5939, allocations: 133.3 kB / 0.5745 GB, free: 3.094 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5939, allocations: 0 / 0.5745 GB, free: 3.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003034/0.5942, allocations: 43.56 kB / 0.5745 GB, free: 3.055 MB / 378.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 (11): * Single equations (assignments): 9 * 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.001735/0.596, allocations: 1.256 MB / 0.5757 GB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.5962, allocations: 75.03 kB / 0.5758 GB, free: 1.809 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5962, allocations: 3.938 kB / 0.5758 GB, free: 1.805 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/0.5963, allocations: 46.36 kB / 0.5759 GB, free: 1.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.5966, allocations: 19.42 kB / 0.5759 GB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.598, allocations: 0.8486 MB / 0.5767 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.5984, allocations: 0.7082 MB / 0.5774 GB, free: 196 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.707e-05/0.5985, allocations: 28.86 kB / 0.5774 GB, free: 168 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.5986, allocations: 37.05 kB / 0.5775 GB, free: 144 kB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5986, allocations: 4 kB / 0.5775 GB, free: 140 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.6153, allocations: 3.305 MB / 0.5807 GB, free: 12.86 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.6156, allocations: 206.4 kB / 0.5809 GB, free: 12.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.215, allocations: 4 kB / 0.5809 GB, free: 12.62 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat