Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",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.002228/0.002228, 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.672/1.672, 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.0008913/0.0008912, allocations: 98.39 kB / 267.1 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.4244/0.4244, allocations: 43.47 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.885e-05, allocations: 4 kB / 425.4 MB, free: 8.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1382, allocations: 58.85 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4282/0.5665, allocations: 87.46 MB / 0.5583 GB, free: 1.492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.5667, allocations: 72.8 kB / 0.5584 GB, free: 1.422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01364/0.5803, allocations: 5.211 MB / 0.5635 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5804, allocations: 0 / 0.5635 GB, free: 12.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.5804, allocations: 8 kB / 0.5635 GB, free: 12.24 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004494/0.5809, allocations: 391.8 kB / 0.5639 GB, free: 11.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5809, allocations: 8.031 kB / 0.5639 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.98e-05/0.581, allocations: 38.55 kB / 0.5639 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.581, allocations: 11.34 kB / 0.5639 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.5813, allocations: 215.6 kB / 0.5641 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.5813, allocations: 0 / 0.5641 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.5813, allocations: 0 / 0.5641 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.5815, allocations: 49.69 kB / 0.5642 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5815, allocations: 4 kB / 0.5642 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.5815, allocations: 0 / 0.5642 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.5815, allocations: 1.375 kB / 0.5642 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.391e-05/0.5816, allocations: 19.92 kB / 0.5642 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.5818, allocations: 190.4 kB / 0.5644 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.5819, allocations: 46.62 kB / 0.5644 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.582, allocations: 16.86 kB / 0.5644 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.582, allocations: 4 kB / 0.5644 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.5822, allocations: 72.19 kB / 0.5645 GB, free: 11.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.5822, allocations: 0 / 0.5645 GB, free: 11.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002095/0.5824, allocations: 82.89 kB / 0.5646 GB, free: 10.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.5824, allocations: 51.41 kB / 0.5646 GB, free: 10.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.5826, allocations: 169.3 kB / 0.5648 GB, free: 10.72 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.5826, allocations: 29.7 kB / 0.5648 GB, free: 10.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.5827, allocations: 104.1 kB / 0.5649 GB, free: 10.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.5827, allocations: 15.36 kB / 0.5649 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.5828, allocations: 4 kB / 0.5649 GB, free: 10.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.5829, allocations: 326.8 kB / 0.5652 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/0.5829, allocations: 12 kB / 0.5653 GB, free: 10.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-05/0.583, allocations: 25.72 kB / 0.5653 GB, free: 10.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.792e-05/0.5831, allocations: 19.92 kB / 0.5653 GB, free: 10.17 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5831, allocations: 4 kB / 0.5653 GB, free: 10.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001338/0.5832, allocations: 77.59 kB / 0.5654 GB, free: 10.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.5832, allocations: 5.094 kB / 0.5654 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5832, allocations: 0.6562 kB / 0.5654 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5833, allocations: 0 / 0.5654 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.5833, allocations: 19.92 kB / 0.5654 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.5834, allocations: 0 / 0.5654 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.5834, allocations: 8 kB / 0.5654 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.5834, allocations: 0 / 0.5654 GB, free: 10.05 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 (7): * Single equations (assignments): 7 * 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.039e-05/0.5835, allocations: 114.7 kB / 0.5655 GB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.5835, allocations: 15.75 kB / 0.5655 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.5837, allocations: 89.75 kB / 0.5656 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5837, allocations: 4 kB / 0.5656 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5837, allocations: 0 / 0.5656 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.5838, allocations: 7.922 kB / 0.5656 GB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.5839, allocations: 189.6 kB / 0.5658 GB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5839, allocations: 0 / 0.5658 GB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.584, allocations: 8 kB / 0.5658 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.584, allocations: 0 / 0.5658 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.584, allocations: 8 kB / 0.5658 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.584, allocations: 0 / 0.5658 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.584, allocations: 0.9688 kB / 0.5658 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.5842, allocations: 109 kB / 0.5659 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.5842, allocations: 96.95 kB / 0.566 GB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.5843, allocations: 0 / 0.566 GB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.317e-05/0.5843, allocations: 4 kB / 0.566 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.5844, allocations: 11.98 kB / 0.566 GB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.5844, allocations: 7.938 kB / 0.566 GB, free: 9.309 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.5845, allocations: 132.1 kB / 0.5662 GB, free: 9.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5845, allocations: 7.938 kB / 0.5662 GB, free: 9.172 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.5847, allocations: 31.92 kB / 0.5662 GB, free: 9.141 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001187/0.5859, allocations: 0.917 MB / 0.5671 GB, free: 8.273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.5861, allocations: 39.94 kB / 0.5671 GB, free: 8.234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5861, allocations: 0 / 0.5671 GB, free: 8.234 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/0.5861, allocations: 20 kB / 0.5672 GB, free: 8.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.5863, allocations: 28.92 kB / 0.5672 GB, free: 8.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.5868, allocations: 201.1 kB / 0.5674 GB, free: 7.957 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.5871, allocations: 0.7122 MB / 0.5681 GB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.5872, allocations: 16.41 kB / 0.5681 GB, free: 7.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.5872, allocations: 31.42 kB / 0.5681 GB, free: 7.172 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5872, allocations: 0 / 0.5681 GB, free: 7.172 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.6006, allocations: 2.707 MB / 0.5708 GB, free: 4.5 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.6008, allocations: 191.6 kB / 0.571 GB, free: 4.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.245, allocations: 0 / 0.571 GB, free: 4.27 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat