Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001434/0.001434, allocations: 118.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.001576/0.001577, allocations: 197.2 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.505/1.505, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 79.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3658, allocations: 62.44 MB / 0.5306 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003316/0.3691, allocations: 1.827 MB / 0.5324 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3709, allocations: 1.097 MB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.371, allocations: 0 / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005439/0.3716, allocations: 308 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000516/0.3721, allocations: 263.7 kB / 0.534 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.3724, allocations: 100.4 kB / 0.5341 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.3727, allocations: 267.2 kB / 0.5343 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.61e-05/0.3728, allocations: 14.02 kB / 0.5343 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.373, allocations: 126 kB / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.3733, allocations: 199.5 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.3733, allocations: 6.812 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.3735, allocations: 47.89 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.3736, allocations: 146.2 kB / 0.5348 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.3738, allocations: 155 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.3742, allocations: 376.8 kB / 0.5354 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3742, allocations: 1.188 kB / 0.5354 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3742, allocations: 0 / 0.5354 GB, free: 10.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.3743, allocations: 0 / 0.5354 GB, free: 10.21 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.00104/0.3753, allocations: 0.7543 MB / 0.5361 GB, free: 9.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3754, allocations: 9.969 kB / 0.5361 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.3754, allocations: 39.89 kB / 0.5361 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.463e-05/0.3755, allocations: 50.64 kB / 0.5362 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006524/0.3762, allocations: 469 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3762, allocations: 2.156 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.3762, allocations: 7.188 kB / 0.5366 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.3764, allocations: 83.61 kB / 0.5367 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3764, allocations: 5.094 kB / 0.5367 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3764, allocations: 0 / 0.5367 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3765, allocations: 1.156 kB / 0.5367 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.3766, allocations: 40.44 kB / 0.5368 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.377, allocations: 377.4 kB / 0.5371 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.3773, allocations: 114.2 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.652e-05/0.3774, allocations: 41.36 kB / 0.5373 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.3774, allocations: 1.75 kB / 0.5373 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.3776, allocations: 111.6 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.496e-06/0.3776, allocations: 3.938 kB / 0.5374 GB, free: 8.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004793/0.3781, allocations: 206.3 kB / 0.5376 GB, free: 8.312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.3782, allocations: 82.2 kB / 0.5377 GB, free: 8.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.3793, allocations: 1.053 MB / 0.5387 GB, free: 7.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3794, allocations: 26.86 kB / 0.5387 GB, free: 7.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.3796, allocations: 238.3 kB / 0.5389 GB, free: 7.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.3796, allocations: 29.06 kB / 0.539 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.3797, allocations: 30.58 kB / 0.539 GB, free: 7.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3798, allocations: 374.2 kB / 0.5394 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-05/0.3799, allocations: 31.64 kB / 0.5394 GB, free: 7.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.665e-05/0.38, allocations: 54.03 kB / 0.5394 GB, free: 7.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.3802, allocations: 86.3 kB / 0.5395 GB, free: 6.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3802, allocations: 7.938 kB / 0.5395 GB, free: 6.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000315/0.3806, allocations: 174.9 kB / 0.5397 GB, free: 6.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3806, allocations: 5.938 kB / 0.5397 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3806, allocations: 1.25 kB / 0.5397 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3806, allocations: 1.156 kB / 0.5397 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.3807, allocations: 26.92 kB / 0.5397 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3808, allocations: 1.031 kB / 0.5397 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.3809, allocations: 9.438 kB / 0.5397 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3809, allocations: 7.188 kB / 0.5397 GB, free: 6.836 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.0002036/0.3811, allocations: 227.8 kB / 0.54 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.146e-05/0.3812, allocations: 53.72 kB / 0.54 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.853e-05/0.3813, allocations: 63.42 kB / 0.5401 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3813, allocations: 1.375 kB / 0.5401 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3813, allocations: 9.453 kB / 0.5401 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3813, allocations: 3.938 kB / 0.5401 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.3816, allocations: 350.2 kB / 0.5404 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3816, allocations: 1.156 kB / 0.5404 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.3817, allocations: 10.78 kB / 0.5404 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3817, allocations: 1.094 kB / 0.5404 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3817, allocations: 5.078 kB / 0.5404 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3817, allocations: 1.125 kB / 0.5404 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3817, allocations: 1.156 kB / 0.5404 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.3821, allocations: 209.6 kB / 0.5406 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.3822, allocations: 142.8 kB / 0.5408 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.3823, allocations: 2 kB / 0.5408 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.3824, allocations: 10.36 kB / 0.5408 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.3824, allocations: 8.844 kB / 0.5408 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.3824, allocations: 9.047 kB / 0.5408 GB, free: 5.984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008007/0.3833, allocations: 0.7839 MB / 0.5416 GB, free: 5.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3833, allocations: 1.062 kB / 0.5416 GB, free: 5.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.3835, allocations: 44.88 kB / 0.5416 GB, free: 5.613 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.001411/0.385, allocations: 1.046 MB / 0.5426 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.3853, allocations: 83.22 kB / 0.5427 GB, free: 4.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3853, allocations: 128 / 0.5427 GB, free: 4.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.3854, allocations: 39.23 kB / 0.5428 GB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.3858, allocations: 71.47 kB / 0.5428 GB, free: 4.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/0.3914, allocations: 4.572 MB / 0.5473 GB, free: 404 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.3919, allocations: 0.8543 MB / 0.5481 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.392, allocations: 59.44 kB / 0.5482 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.3922, allocations: 151.4 kB / 0.5483 GB, free: 15.31 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3923, allocations: 0 / 0.5483 GB, free: 15.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.4215, allocations: 9.077 MB / 0.5572 GB, free: 6.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.643, allocations: 18.34 kB / 0.5572 GB, free: 6.309 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_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_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5096]=8000.000000 File[577]=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