Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.224/0.224, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 75.89 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3433, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002848/0.3462, allocations: 1.799 MB / 0.5202 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3476, allocations: 0.9539 MB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.857e-05/0.3477, allocations: 0 / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005596/0.3483, allocations: 294.5 kB / 0.5215 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.3487, allocations: 214.8 kB / 0.5217 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.3491, allocations: 174.9 kB / 0.5218 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.3495, allocations: 238.2 kB / 0.5221 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.01e-05/0.3495, allocations: 10.2 kB / 0.5221 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.3497, allocations: 130.8 kB / 0.5222 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.3499, allocations: 185.2 kB / 0.5224 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.35, allocations: 7.281 kB / 0.5224 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3501, allocations: 48.58 kB / 0.5224 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.3503, allocations: 127.7 kB / 0.5225 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.3504, allocations: 142.4 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000476/0.3509, allocations: 359.2 kB / 0.523 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3509, allocations: 4 kB / 0.523 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3509, allocations: 0 / 0.523 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3509, allocations: 0 / 0.523 GB, free: 0.6992 MB / 382.1 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.0008687/0.3518, allocations: 0.732 MB / 0.5237 GB, free: 88 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3518, allocations: 13.59 kB / 0.5238 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.3519, allocations: 38.59 kB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.036e-05/0.352, allocations: 50.61 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000704/0.3527, allocations: 448.4 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3527, allocations: 6.859 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.3527, allocations: 7.812 kB / 0.5243 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.3529, allocations: 90.81 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.353, allocations: 0.5625 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.353, allocations: 1.672 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.353, allocations: 1.094 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.3531, allocations: 29.27 kB / 0.5244 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.3536, allocations: 373.3 kB / 0.5248 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.3539, allocations: 105.3 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.3541, allocations: 39.58 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3541, allocations: 10.28 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.3543, allocations: 104.3 kB / 0.525 GB, free: 15.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.3544, allocations: 0 / 0.525 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000532/0.3549, allocations: 199 kB / 0.5252 GB, free: 15.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.355, allocations: 83.66 kB / 0.5253 GB, free: 14.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.3563, allocations: 1.006 MB / 0.5263 GB, free: 14.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3564, allocations: 27.08 kB / 0.5263 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.3566, allocations: 234.7 kB / 0.5265 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.3567, allocations: 27.98 kB / 0.5265 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.3567, allocations: 29.08 kB / 0.5266 GB, free: 14.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.3569, allocations: 364.9 kB / 0.5269 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.394e-05/0.357, allocations: 27.28 kB / 0.5269 GB, free: 14.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.3572, allocations: 64.02 kB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.3574, allocations: 88.61 kB / 0.5271 GB, free: 13.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.3574, allocations: 3.938 kB / 0.5271 GB, free: 13.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003309/0.3577, allocations: 175.9 kB / 0.5272 GB, free: 13.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3577, allocations: 5.219 kB / 0.5273 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3578, allocations: 1.125 kB / 0.5273 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3578, allocations: 6.375 kB / 0.5273 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3579, allocations: 20.98 kB / 0.5273 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.3579, allocations: 1.219 kB / 0.5273 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.824e-05/0.358, allocations: 17.55 kB / 0.5273 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.358, allocations: 3.094 kB / 0.5273 GB, free: 13.79 MB / 398.1 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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002285/0.3583, allocations: 227.3 kB / 0.5275 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.457e-05/0.3584, allocations: 49.58 kB / 0.5276 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.921e-05/0.3585, allocations: 57.72 kB / 0.5276 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3585, allocations: 2.25 kB / 0.5276 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3585, allocations: 0 / 0.5276 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3585, allocations: 1.562 kB / 0.5276 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.3589, allocations: 342.4 kB / 0.528 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3589, allocations: 0 / 0.528 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.359, allocations: 14.56 kB / 0.528 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.359, allocations: 1.75 kB / 0.528 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.359, allocations: 9.922 kB / 0.528 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.359, allocations: 0 / 0.528 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.359, allocations: 5.812 kB / 0.528 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.3594, allocations: 199.3 kB / 0.5282 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.3595, allocations: 142.1 kB / 0.5283 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.3596, allocations: 5.344 kB / 0.5283 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.3597, allocations: 7.906 kB / 0.5283 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.3597, allocations: 7.891 kB / 0.5283 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.3598, allocations: 8.156 kB / 0.5283 GB, free: 12.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001071/0.3608, allocations: 0.7465 MB / 0.5291 GB, free: 12.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3608, allocations: 96 / 0.5291 GB, free: 12.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.3611, allocations: 47.77 kB / 0.5291 GB, free: 12.61 MB / 398.1 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.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00205/0.3632, allocations: 1.049 MB / 0.5301 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.3634, allocations: 82.8 kB / 0.5302 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.3635, allocations: 3.938 kB / 0.5302 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.3636, allocations: 44.48 kB / 0.5303 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.364, allocations: 73.17 kB / 0.5303 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/0.3701, allocations: 4.415 MB / 0.5346 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006018/0.3707, allocations: 0.8426 MB / 0.5355 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.3709, allocations: 56.52 kB / 0.5355 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.3711, allocations: 145.5 kB / 0.5357 GB, free: 8.305 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3711, allocations: 0 / 0.5357 GB, free: 8.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.4045, allocations: 8.784 MB / 0.5442 GB, free: 1.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.769/9.173, allocations: 7.094 kB / 0.5442 GB, free: 1.484 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5115]=8000.000000 File[555]=2048.000000 " Variables in the reference:time,startTime_0.y[1],startTime.y[1] Variables in the result:time,startTime.y[1],startTime_0.y[1],startTime.offset[1],startTime.shiftTime,startTime.startTime