Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009666/0.0009666, allocations: 89 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1755/0.1755, allocations: 44.13 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/1.986e-05, allocations: 8 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1236, allocations: 61.92 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4084/0.532, allocations: 88.4 MB / 0.5811 GB, free: 7.922 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.5323, allocations: 63.97 kB / 0.5812 GB, free: 7.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01739/0.5497, allocations: 6.642 MB / 0.5877 GB, free: 1.227 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5497, allocations: 4 kB / 0.5877 GB, free: 1.223 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.582e-05/0.5497, allocations: 11.94 kB / 0.5877 GB, free: 1.211 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.0006895/0.5504, allocations: 0.6026 MB / 0.5883 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.5505, allocations: 15.98 kB / 0.5883 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.116e-05/0.5506, allocations: 43.44 kB / 0.5883 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007419/0.5513, allocations: 491 kB / 0.5888 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.5514, allocations: 3.953 kB / 0.5888 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.5514, allocations: 8.656 kB / 0.5888 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.978e-05/0.5515, allocations: 27.98 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.5516, allocations: 79.36 kB / 0.5889 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.5516, allocations: 0 / 0.5889 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.5517, allocations: 7.938 kB / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.5517, allocations: 0 / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.552, allocations: 354.9 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.5522, allocations: 97.3 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.5523, allocations: 37.8 kB / 0.5894 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.5523, allocations: 3.953 kB / 0.5894 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.5525, allocations: 109 kB / 0.5895 GB, free: 15.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.5525, allocations: 0 / 0.5895 GB, free: 15.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003115/0.5528, allocations: 160.9 kB / 0.5896 GB, free: 15.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.5528, allocations: 81.11 kB / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.5542, allocations: 0.9005 MB / 0.5906 GB, free: 14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.5542, allocations: 29.7 kB / 0.5906 GB, free: 13.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.5544, allocations: 232.1 kB / 0.5908 GB, free: 13.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.5545, allocations: 27.66 kB / 0.5909 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-06/0.5545, allocations: 0 / 0.5909 GB, free: 13.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5546, allocations: 374.8 kB / 0.5912 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.5547, allocations: 20 kB / 0.5912 GB, free: 13.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.173e-05/0.5548, allocations: 55.42 kB / 0.5913 GB, free: 13.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.781e-05/0.5548, allocations: 28.11 kB / 0.5913 GB, free: 13.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5548, allocations: 4 kB / 0.5913 GB, free: 13.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002315/0.5551, allocations: 160.9 kB / 0.5915 GB, free: 13.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5551, allocations: 7.953 kB / 0.5915 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5551, allocations: 0 / 0.5915 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5551, allocations: 4 kB / 0.5915 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.5553, allocations: 19.98 kB / 0.5915 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.5553, allocations: 7.938 kB / 0.5915 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.5554, allocations: 7.906 kB / 0.5915 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.5554, allocations: 8.062 kB / 0.5915 GB, free: 13 MB / 410.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 7.781e-05/0.5555, allocations: 120.8 kB / 0.5916 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002292/0.5557, allocations: 157.1 kB / 0.5918 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.672e-05/0.5558, allocations: 55.3 kB / 0.5918 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.5561, allocations: 186.3 kB / 0.592 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.5561, allocations: 4 kB / 0.592 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5561, allocations: 0 / 0.592 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5561, allocations: 0 / 0.592 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.5565, allocations: 369.7 kB / 0.5924 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5565, allocations: 8 kB / 0.5924 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.5565, allocations: 11.94 kB / 0.5924 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.5565, allocations: 3.953 kB / 0.5924 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.5565, allocations: 11.98 kB / 0.5924 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5566, allocations: 3.938 kB / 0.5924 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5566, allocations: 0 / 0.5924 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.5568, allocations: 215.1 kB / 0.5926 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.5571, allocations: 192.5 kB / 0.5928 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/0.5572, allocations: 4 kB / 0.5928 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.5573, allocations: 8 kB / 0.5928 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.5573, allocations: 7.984 kB / 0.5928 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.5573, allocations: 7.984 kB / 0.5928 GB, free: 11.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007833/0.5581, allocations: 0.7136 MB / 0.5935 GB, free: 10.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5581, allocations: 0 / 0.5935 GB, free: 10.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00033/0.5585, allocations: 76 kB / 0.5936 GB, free: 10.77 MB / 410.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.00122/0.5597, allocations: 1.079 MB / 0.5947 GB, free: 9.734 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.5599, allocations: 83.8 kB / 0.5947 GB, free: 9.652 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5599, allocations: 0 / 0.5947 GB, free: 9.652 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.739e-05/0.5599, allocations: 39.94 kB / 0.5948 GB, free: 9.613 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.5603, allocations: 58.05 kB / 0.5948 GB, free: 9.559 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.5616, allocations: 0.8815 MB / 0.5957 GB, free: 8.629 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.562, allocations: 0.8546 MB / 0.5965 GB, free: 7.746 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.5622, allocations: 91.25 kB / 0.5966 GB, free: 7.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.5624, allocations: 163.4 kB / 0.5968 GB, free: 7.5 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5625, allocations: 0 / 0.5968 GB, free: 7.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05207/0.6145, allocations: 8.131 MB / 0.6047 GB, free: 15.38 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.6148, allocations: 161.4 kB / 0.6049 GB, free: 15.19 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.086/2.7, allocations: 0 / 0.6049 GB, free: 15.19 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat