Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",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.001066/0.001067, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.715/1.715, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009416/0.0009413, allocations: 93.55 kB / 267.1 MB, free: 9.273 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.4434/0.4434, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.796e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1582, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4946/0.6529, allocations: 87.72 MB / 0.5586 GB, free: 16.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.6533, allocations: 72.48 kB / 0.5586 GB, free: 16.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02238/0.6756, allocations: 7.512 MB / 0.566 GB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6757, allocations: 0 / 0.566 GB, free: 11.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.6757, allocations: 4 kB / 0.566 GB, free: 11.46 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006762/0.6764, allocations: 490.7 kB / 0.5665 GB, free: 10.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.6765, allocations: 12.03 kB / 0.5665 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.6765, allocations: 33.69 kB / 0.5665 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.599e-05/0.6766, allocations: 27.16 kB / 0.5665 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.6771, allocations: 278.9 kB / 0.5668 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.6771, allocations: 0 / 0.5668 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.6771, allocations: 7 kB / 0.5668 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.6773, allocations: 93.44 kB / 0.5669 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.6773, allocations: 0 / 0.5669 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.6774, allocations: 8.609 kB / 0.5669 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.6774, allocations: 4 kB / 0.5669 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.6775, allocations: 39.17 kB / 0.5669 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.678, allocations: 451.7 kB / 0.5674 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.6782, allocations: 115.3 kB / 0.5675 GB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.6782, allocations: 35.28 kB / 0.5675 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.6783, allocations: 11.92 kB / 0.5675 GB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.6785, allocations: 113.5 kB / 0.5676 GB, free: 9.734 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.6785, allocations: 0 / 0.5676 GB, free: 9.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006997/0.6792, allocations: 313.5 kB / 0.5679 GB, free: 9.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.6792, allocations: 81.11 kB / 0.568 GB, free: 9.371 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.6796, allocations: 325.8 kB / 0.5683 GB, free: 9.109 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.6796, allocations: 32.69 kB / 0.5684 GB, free: 9.074 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.6797, allocations: 141.2 kB / 0.5685 GB, free: 8.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.6797, allocations: 54.16 kB / 0.5685 GB, free: 8.922 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.6798, allocations: 3.438 kB / 0.5685 GB, free: 8.922 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.6798, allocations: 336.6 kB / 0.5689 GB, free: 8.594 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.569e-05/0.6799, allocations: 45.33 kB / 0.5689 GB, free: 8.566 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/0.68, allocations: 63.27 kB / 0.569 GB, free: 8.508 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.774e-05/0.6801, allocations: 50.84 kB / 0.569 GB, free: 8.473 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.6801, allocations: 0 / 0.569 GB, free: 8.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002334/0.6803, allocations: 179.1 kB / 0.5692 GB, free: 8.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.6804, allocations: 4 kB / 0.5692 GB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.6804, allocations: 3.984 kB / 0.5692 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.6804, allocations: 4 kB / 0.5692 GB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.6805, allocations: 32.05 kB / 0.5692 GB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.6806, allocations: 4 kB / 0.5692 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.69e-05/0.6806, allocations: 8.062 kB / 0.5692 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.6807, allocations: 15.94 kB / 0.5693 GB, free: 8.258 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 6.62e-05/0.6807, allocations: 120.7 kB / 0.5694 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.6808, allocations: 27.67 kB / 0.5694 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.6811, allocations: 205.8 kB / 0.5696 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.6811, allocations: 4 kB / 0.5696 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6811, allocations: 0 / 0.5696 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.6811, allocations: 7.969 kB / 0.5696 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006273/0.6818, allocations: 0.6587 MB / 0.5702 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6818, allocations: 4 kB / 0.5702 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.6819, allocations: 16 kB / 0.5703 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6819, allocations: 4 kB / 0.5703 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.6819, allocations: 3.984 kB / 0.5703 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.6819, allocations: 4 kB / 0.5703 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6819, allocations: 8 kB / 0.5703 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.6822, allocations: 403.8 kB / 0.5707 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.6823, allocations: 124.5 kB / 0.5708 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.6823, allocations: 5.312 kB / 0.5708 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.6825, allocations: 11.14 kB / 0.5708 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.6825, allocations: 15.97 kB / 0.5708 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.6826, allocations: 7.875 kB / 0.5708 GB, free: 6.695 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002103/0.6828, allocations: 256.6 kB / 0.5711 GB, free: 6.492 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6828, allocations: 0 / 0.5711 GB, free: 6.492 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003361/0.6831, allocations: 58.81 kB / 0.5711 GB, free: 6.441 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001415/0.6846, allocations: 1.468 MB / 0.5726 GB, free: 5.059 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.6848, allocations: 114.2 kB / 0.5727 GB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6848, allocations: 4 kB / 0.5727 GB, free: 4.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.6849, allocations: 63.23 kB / 0.5727 GB, free: 4.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.6853, allocations: 49.36 kB / 0.5728 GB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008162/0.6861, allocations: 430.8 kB / 0.5732 GB, free: 4.469 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.6863, allocations: 0.7596 MB / 0.5739 GB, free: 3.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.6865, allocations: 38.14 kB / 0.574 GB, free: 3.652 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.6866, allocations: 77.28 kB / 0.574 GB, free: 3.621 MB / 394.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6866, allocations: 0 / 0.574 GB, free: 3.621 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.7045, allocations: 5.126 MB / 0.579 GB, free: 14.53 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.7048, allocations: 187.6 kB / 0.5792 GB, free: 14.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.731, allocations: 4 kB / 0.5792 GB, free: 14.29 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat