Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",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.001791/0.001792, allocations: 186.7 kB / 13.19 MB, free: 2.121 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.704/1.704, allocations: 205.2 MB / 218.9 MB, free: 9.152 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.000839/0.000839, allocations: 85.56 kB / 267 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.3888/0.3888, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.282e-05/4.306e-05, allocations: 8 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1312, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4427/0.574, allocations: 87.47 MB / 0.5583 GB, free: 16.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.5743, allocations: 79.3 kB / 0.5584 GB, free: 16.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01867/0.593, allocations: 6.49 MB / 0.5648 GB, free: 12.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5931, allocations: 0 / 0.5648 GB, free: 12.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.599e-05/0.5931, allocations: 8 kB / 0.5648 GB, free: 12.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009441/0.5941, allocations: 0.6068 MB / 0.5654 GB, free: 11.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.5941, allocations: 8.031 kB / 0.5654 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.954e-05/0.5942, allocations: 34 kB / 0.5654 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.5944, allocations: 51.34 kB / 0.5654 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009425/0.5953, allocations: 482.7 kB / 0.5659 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.5954, allocations: 15.17 kB / 0.5659 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.5954, allocations: 0 / 0.5659 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.5956, allocations: 91.66 kB / 0.566 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.5956, allocations: 1.375 kB / 0.566 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.5956, allocations: 0 / 0.566 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.5956, allocations: 0 / 0.566 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.584e-05/0.5957, allocations: 34.55 kB / 0.566 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.5962, allocations: 393.4 kB / 0.5664 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.5964, allocations: 90.55 kB / 0.5665 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.5965, allocations: 44.48 kB / 0.5665 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.5965, allocations: 4 kB / 0.5665 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.5967, allocations: 105.6 kB / 0.5666 GB, free: 10.58 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/0.5967, allocations: 0 / 0.5666 GB, free: 10.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003833/0.5971, allocations: 169.6 kB / 0.5668 GB, free: 10.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.5971, allocations: 86.7 kB / 0.5669 GB, free: 10.33 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.5984, allocations: 0.9315 MB / 0.5678 GB, free: 9.602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.5985, allocations: 25.7 kB / 0.5678 GB, free: 9.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.5986, allocations: 233.8 kB / 0.5681 GB, free: 9.441 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.5987, allocations: 26.83 kB / 0.5681 GB, free: 9.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.5987, allocations: 0 / 0.5681 GB, free: 9.422 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5988, allocations: 375.3 kB / 0.5684 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.5989, allocations: 22.88 kB / 0.5685 GB, free: 9.055 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-05/0.5989, allocations: 63.55 kB / 0.5685 GB, free: 8.992 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.742e-05/0.599, allocations: 27.61 kB / 0.5685 GB, free: 8.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.599, allocations: 0 / 0.5685 GB, free: 8.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002483/0.5992, allocations: 166.6 kB / 0.5687 GB, free: 8.828 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.5993, allocations: 5.719 kB / 0.5687 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5993, allocations: 0 / 0.5687 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.5993, allocations: 4 kB / 0.5687 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.5994, allocations: 23.98 kB / 0.5687 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.5995, allocations: 8 kB / 0.5687 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.5996, allocations: 15.83 kB / 0.5688 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.5996, allocations: 7.562 kB / 0.5688 GB, free: 8.77 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.737e-05/0.5997, allocations: 120.5 kB / 0.5689 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-05/0.5998, allocations: 47.44 kB / 0.5689 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.6001, allocations: 196.8 kB / 0.5691 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.6002, allocations: 4 kB / 0.5691 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.6002, allocations: 4 kB / 0.5691 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.6002, allocations: 4.297 kB / 0.5691 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.6005, allocations: 394.8 kB / 0.5695 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6006, allocations: 4 kB / 0.5695 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.6006, allocations: 15.92 kB / 0.5695 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.6006, allocations: 4 kB / 0.5695 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.6006, allocations: 0 / 0.5695 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6006, allocations: 0 / 0.5695 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.6007, allocations: 4 kB / 0.5695 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.601, allocations: 223.9 kB / 0.5697 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.6013, allocations: 190.4 kB / 0.5699 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-05/0.6013, allocations: 4 kB / 0.5699 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.6015, allocations: 15.8 kB / 0.5699 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.6015, allocations: 11.92 kB / 0.57 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.6015, allocations: 4 kB / 0.57 GB, free: 7.586 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008439/0.6024, allocations: 0.7514 MB / 0.5707 GB, free: 7.039 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6024, allocations: 5.312 kB / 0.5707 GB, free: 7.035 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003302/0.6027, allocations: 75.5 kB / 0.5708 GB, free: 6.965 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001402/0.6042, allocations: 1.101 MB / 0.5718 GB, free: 5.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.6044, allocations: 80.92 kB / 0.5719 GB, free: 5.871 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6044, allocations: 0 / 0.5719 GB, free: 5.871 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/0.6044, allocations: 49.92 kB / 0.572 GB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.6049, allocations: 55.7 kB / 0.572 GB, free: 5.801 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.6063, allocations: 0.892 MB / 0.5729 GB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.6066, allocations: 0.8526 MB / 0.5737 GB, free: 4.098 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.6068, allocations: 90.88 kB / 0.5738 GB, free: 4.016 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.607, allocations: 153.3 kB / 0.574 GB, free: 3.973 MB / 394.7 MB Notification: Performance of SimCode: time 6.62e-07/0.607, allocations: 0 / 0.574 GB, free: 3.973 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.6361, allocations: 9.063 MB / 0.5828 GB, free: 10.93 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.6364, allocations: 191.6 kB / 0.583 GB, free: 10.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/2.849, allocations: 0 / 0.583 GB, free: 10.7 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat