Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001308, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3469, allocations: 62.42 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.004013/0.351, allocations: 1.837 MB / 0.5324 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.3534, allocations: 1.09 MB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.3536, allocations: 1.25 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006101/0.3542, allocations: 295.5 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006429/0.3549, allocations: 257.4 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.3553, allocations: 108.4 kB / 0.5341 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.3557, allocations: 257.6 kB / 0.5343 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.968e-05/0.3558, allocations: 13.92 kB / 0.5343 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.356, allocations: 133.4 kB / 0.5345 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.3563, allocations: 192.6 kB / 0.5346 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.3563, allocations: 11.03 kB / 0.5346 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.3565, allocations: 50.86 kB / 0.5347 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.3567, allocations: 133.3 kB / 0.5348 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.3569, allocations: 146.9 kB / 0.535 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005763/0.3575, allocations: 373.8 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3575, allocations: 0 / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3575, allocations: 0 / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.3575, allocations: 1.156 kB / 0.5353 GB, free: 10.01 MB / 398.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.001176/0.3587, allocations: 0.7561 MB / 0.5361 GB, free: 9.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.3587, allocations: 9.344 kB / 0.5361 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.3588, allocations: 32.06 kB / 0.5361 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.636e-05/0.3589, allocations: 51.17 kB / 0.5361 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007306/0.3596, allocations: 452.4 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3597, allocations: 6.5 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.3597, allocations: 6.188 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3599, allocations: 88.27 kB / 0.5367 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3599, allocations: 0 / 0.5367 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3599, allocations: 1.156 kB / 0.5367 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.36, allocations: 1.344 kB / 0.5367 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.3601, allocations: 31.78 kB / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.3605, allocations: 375.6 kB / 0.5371 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.3608, allocations: 105.4 kB / 0.5372 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.59e-05/0.3609, allocations: 45.61 kB / 0.5372 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.361, allocations: 5.047 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.3612, allocations: 115.9 kB / 0.5373 GB, free: 8.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.3612, allocations: 1.094 kB / 0.5373 GB, free: 8.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005245/0.3617, allocations: 200.5 kB / 0.5375 GB, free: 8.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.3618, allocations: 82.48 kB / 0.5376 GB, free: 8.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.3629, allocations: 1.023 MB / 0.5386 GB, free: 7.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.363, allocations: 30.95 kB / 0.5386 GB, free: 7.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.3632, allocations: 234.4 kB / 0.5388 GB, free: 7.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.3632, allocations: 24.02 kB / 0.5389 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.3633, allocations: 30.58 kB / 0.5389 GB, free: 7.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3634, allocations: 365.9 kB / 0.5393 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/0.3635, allocations: 30.48 kB / 0.5393 GB, free: 6.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.3636, allocations: 70.34 kB / 0.5393 GB, free: 6.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.3638, allocations: 94.36 kB / 0.5394 GB, free: 6.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3638, allocations: 3.938 kB / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003095/0.3642, allocations: 175.3 kB / 0.5396 GB, free: 6.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3642, allocations: 5.719 kB / 0.5396 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3642, allocations: 1.25 kB / 0.5396 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3642, allocations: 1.281 kB / 0.5396 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.3644, allocations: 21.73 kB / 0.5396 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3644, allocations: 5.156 kB / 0.5396 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.3645, allocations: 21 kB / 0.5397 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.3645, allocations: 3.906 kB / 0.5397 GB, free: 6.664 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.0002253/0.3647, allocations: 228.9 kB / 0.5399 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.3648, allocations: 49.67 kB / 0.5399 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.085e-05/0.3649, allocations: 58.53 kB / 0.54 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3649, allocations: 1.125 kB / 0.54 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3649, allocations: 1.031 kB / 0.54 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3649, allocations: 1.188 kB / 0.54 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.3653, allocations: 344.6 kB / 0.5403 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3653, allocations: 0 / 0.5403 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.3653, allocations: 6.531 kB / 0.5403 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3653, allocations: 9.047 kB / 0.5403 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3654, allocations: 2.281 kB / 0.5403 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.423e-06/0.3654, allocations: 8.969 kB / 0.5403 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3654, allocations: 5.062 kB / 0.5403 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.3657, allocations: 208.5 kB / 0.5405 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.3659, allocations: 137.6 kB / 0.5407 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.366, allocations: 6.281 kB / 0.5407 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.366, allocations: 7.609 kB / 0.5407 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.3661, allocations: 12.08 kB / 0.5407 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3661, allocations: 4.625 kB / 0.5407 GB, free: 5.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008538/0.367, allocations: 0.7602 MB / 0.5414 GB, free: 5.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.367, allocations: 0 / 0.5414 GB, free: 5.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.3673, allocations: 48.95 kB / 0.5415 GB, free: 5.461 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.001541/0.3688, allocations: 1.035 MB / 0.5425 GB, free: 4.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.3691, allocations: 81.8 kB / 0.5426 GB, free: 4.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3691, allocations: 0 / 0.5426 GB, free: 4.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3692, allocations: 43.73 kB / 0.5426 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.3697, allocations: 77.97 kB / 0.5427 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.375, allocations: 4.475 MB / 0.5471 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.3754, allocations: 0.8388 MB / 0.5479 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.3756, allocations: 66.92 kB / 0.548 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.3758, allocations: 147.4 kB / 0.5481 GB, free: 15.42 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3758, allocations: 0 / 0.5481 GB, free: 15.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.4012, allocations: 8.918 MB / 0.5568 GB, free: 6.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/8.75, allocations: 15.56 kB / 0.5568 GB, free: 6.574 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5078]=8000.000000 File[567]=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