Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",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.001246/0.001246, allocations: 183.2 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.739/1.739, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0008619/0.0008619, allocations: 88.47 kB / 267 MB, free: 9.277 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.517/0.517, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.757e-05/3.76e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1549, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4926/0.6475, allocations: 87.84 MB / 0.5587 GB, free: 16.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.6478, allocations: 73.61 kB / 0.5588 GB, free: 16.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01508/0.6629, allocations: 5.773 MB / 0.5644 GB, free: 13.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.706e-06/0.6629, allocations: 4 kB / 0.5644 GB, free: 13.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.6629, allocations: 3.062 kB / 0.5644 GB, free: 13.05 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.0004095/0.6633, allocations: 400.1 kB / 0.5648 GB, free: 12.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.6634, allocations: 12.03 kB / 0.5648 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.6634, allocations: 30.56 kB / 0.5648 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.6635, allocations: 11.34 kB / 0.5648 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.6637, allocations: 206.6 kB / 0.565 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.6638, allocations: 4 kB / 0.565 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.6638, allocations: 7.984 kB / 0.5651 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.6639, allocations: 76.33 kB / 0.5651 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.664, allocations: 0 / 0.5651 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.664, allocations: 0 / 0.5651 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.664, allocations: 0.7656 kB / 0.5651 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.863e-05/0.6641, allocations: 23.81 kB / 0.5651 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.6644, allocations: 288.1 kB / 0.5654 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.6645, allocations: 54.31 kB / 0.5655 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.6646, allocations: 20.67 kB / 0.5655 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.6646, allocations: 0 / 0.5655 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/0.6647, allocations: 62.89 kB / 0.5656 GB, free: 11.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.6647, allocations: 7.609 kB / 0.5656 GB, free: 11.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004434/0.6652, allocations: 155.5 kB / 0.5657 GB, free: 11.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.6652, allocations: 82.61 kB / 0.5658 GB, free: 11.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.6654, allocations: 145 kB / 0.5659 GB, free: 11.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.6654, allocations: 25.7 kB / 0.566 GB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.6654, allocations: 91.7 kB / 0.566 GB, free: 11.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.6655, allocations: 27.45 kB / 0.5661 GB, free: 11.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.6655, allocations: 3.438 kB / 0.5661 GB, free: 11.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.6655, allocations: 326.3 kB / 0.5664 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.339e-05/0.6656, allocations: 15.88 kB / 0.5664 GB, free: 10.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.287e-05/0.6656, allocations: 37.89 kB / 0.5664 GB, free: 10.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.6657, allocations: 29.62 kB / 0.5665 GB, free: 10.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.6657, allocations: 2.156 kB / 0.5665 GB, free: 10.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001285/0.6658, allocations: 100.8 kB / 0.5666 GB, free: 10.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6658, allocations: 7.953 kB / 0.5666 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6659, allocations: 4.062 kB / 0.5666 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.6659, allocations: 0 / 0.5666 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.666, allocations: 19.94 kB / 0.5666 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.666, allocations: 0 / 0.5666 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.6661, allocations: 11.8 kB / 0.5666 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.6661, allocations: 0 / 0.5666 GB, free: 10.75 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 () * 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 6.124e-05/0.6662, allocations: 110 kB / 0.5667 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.6662, allocations: 7.906 kB / 0.5667 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.6664, allocations: 121.5 kB / 0.5668 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.6664, allocations: 0 / 0.5668 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6664, allocations: 0 / 0.5668 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6664, allocations: 0 / 0.5668 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.6668, allocations: 413.4 kB / 0.5672 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6668, allocations: 4 kB / 0.5672 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.6668, allocations: 8.562 kB / 0.5672 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6668, allocations: 0 / 0.5672 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.6668, allocations: 4.031 kB / 0.5672 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.6668, allocations: 7.938 kB / 0.5672 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6669, allocations: 7.922 kB / 0.5673 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.667, allocations: 221 kB / 0.5675 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.6671, allocations: 88.95 kB / 0.5675 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.6671, allocations: 0 / 0.5675 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.6672, allocations: 11.98 kB / 0.5676 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.6672, allocations: 7.938 kB / 0.5676 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.6673, allocations: 7.984 kB / 0.5676 GB, free: 9.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.783e-05/0.6673, allocations: 116.2 kB / 0.5677 GB, free: 9.633 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6673, allocations: 0 / 0.5677 GB, free: 9.633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002691/0.6676, allocations: 39.06 kB / 0.5677 GB, free: 9.602 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) * 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.001299/0.6689, allocations: 1.177 MB / 0.5689 GB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.6691, allocations: 51.5 kB / 0.5689 GB, free: 8.453 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6691, allocations: 0 / 0.5689 GB, free: 8.453 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.616e-05/0.6691, allocations: 39.72 kB / 0.569 GB, free: 8.422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.6694, allocations: 24.5 kB / 0.569 GB, free: 8.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.6699, allocations: 197.1 kB / 0.5692 GB, free: 8.195 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.6701, allocations: 0.7004 MB / 0.5699 GB, free: 7.469 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.523e-05/0.6702, allocations: 22.02 kB / 0.5699 GB, free: 7.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.6703, allocations: 34.73 kB / 0.5699 GB, free: 7.43 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6703, allocations: 0 / 0.5699 GB, free: 7.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.6866, allocations: 3.111 MB / 0.5729 GB, free: 4.352 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/0.6868, allocations: 180.3 kB / 0.5731 GB, free: 4.133 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.378, allocations: 0 / 0.5731 GB, free: 4.133 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat