Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2254/0.2254, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 80.09 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3823, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003654/0.386, allocations: 1.73 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.3887, allocations: 1.627 MB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.3888, allocations: 1.125 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.3891, allocations: 37.69 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.3895, allocations: 99.69 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.3897, allocations: 79.73 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.3899, allocations: 102.1 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.39, allocations: 19.38 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3901, allocations: 48.83 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.3903, allocations: 42.19 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.3903, allocations: 5.125 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.3905, allocations: 111 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.655e-05/0.3906, allocations: 25.41 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.3907, allocations: 35.98 kB / 0.5345 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.391, allocations: 170.3 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.391, allocations: 0 / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.391, allocations: 0 / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.391, allocations: 5.375 kB / 0.5346 GB, free: 10.29 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007225/0.3918, allocations: 428.8 kB / 0.535 GB, free: 9.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.3918, allocations: 9.625 kB / 0.535 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.3919, allocations: 32.12 kB / 0.5351 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.3919, allocations: 18.34 kB / 0.5351 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.3923, allocations: 218.5 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.3923, allocations: 5.375 kB / 0.5353 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.3923, allocations: 2.75 kB / 0.5353 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.3925, allocations: 73.12 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3926, allocations: 1.375 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3926, allocations: 0 / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3926, allocations: 1.375 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.373e-05/0.3927, allocations: 17.61 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.3932, allocations: 289.5 kB / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.3934, allocations: 57.92 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.3934, allocations: 22.47 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.3935, allocations: 1.375 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.3937, allocations: 65.14 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.116e-06/0.3937, allocations: 0 / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006446/0.3943, allocations: 181.2 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.3944, allocations: 86.09 kB / 0.5361 GB, free: 8.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.3947, allocations: 161.3 kB / 0.5362 GB, free: 8.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.3947, allocations: 34.89 kB / 0.5363 GB, free: 8.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.3948, allocations: 92.52 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.3949, allocations: 35.12 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.3949, allocations: 25.69 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3951, allocations: 321.6 kB / 0.5367 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/0.3952, allocations: 22.08 kB / 0.5367 GB, free: 8.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.288e-05/0.3953, allocations: 44.94 kB / 0.5368 GB, free: 8.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.3954, allocations: 55.7 kB / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3954, allocations: 0 / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002074/0.3957, allocations: 99.64 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3957, allocations: 9.594 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3957, allocations: 1.125 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3957, allocations: 4.938 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3958, allocations: 29.23 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3959, allocations: 0 / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.3959, allocations: 2.406 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3959, allocations: 3.281 kB / 0.537 GB, free: 8.035 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001409/0.3961, allocations: 124.6 kB / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.3961, allocations: 8.328 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.3962, allocations: 17.41 kB / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3962, allocations: 4.906 kB / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3962, allocations: 0 / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3962, allocations: 0 / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/0.3968, allocations: 401.1 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3968, allocations: 3.938 kB / 0.5375 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.3968, allocations: 11.89 kB / 0.5375 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3968, allocations: 1.188 kB / 0.5375 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3969, allocations: 6.375 kB / 0.5375 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3969, allocations: 0 / 0.5375 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3969, allocations: 1.094 kB / 0.5375 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.3971, allocations: 204.1 kB / 0.5377 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.3972, allocations: 95.28 kB / 0.5378 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.3972, allocations: 6.312 kB / 0.5378 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.3973, allocations: 2.312 kB / 0.5378 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3974, allocations: 11.42 kB / 0.5378 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.3974, allocations: 3.438 kB / 0.5378 GB, free: 7.191 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.3976, allocations: 127.7 kB / 0.538 GB, free: 7.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3976, allocations: 0 / 0.538 GB, free: 7.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.3979, allocations: 49.39 kB / 0.538 GB, free: 7.074 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001833/0.3998, allocations: 1.192 MB / 0.5392 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.4, allocations: 62.84 kB / 0.5392 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4, allocations: 64 / 0.5392 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.4001, allocations: 25.16 kB / 0.5393 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.4004, allocations: 33.44 kB / 0.5393 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.4026, allocations: 1.583 MB / 0.5408 GB, free: 4.695 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.4029, allocations: 0.7038 MB / 0.5415 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.085e-05/0.403, allocations: 19.92 kB / 0.5415 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.471e-05/0.4031, allocations: 42.14 kB / 0.5416 GB, free: 3.941 MB / 398.1 MB Notification: Performance of SimCode: time 3.256e-06/0.4031, allocations: 0 / 0.5416 GB, free: 3.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.4274, allocations: 4.007 MB / 0.5455 GB, free: 1.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/8.134, allocations: 16.09 kB / 0.5455 GB, free: 1.711 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches