Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001244, allocations: 204.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, 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.2298/0.2298, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4032, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003625/0.4069, allocations: 1.733 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.4092, allocations: 1.018 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.4093, allocations: 8.781 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004174/0.4098, allocations: 39.45 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004562/0.4103, allocations: 96.91 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.4106, allocations: 79.05 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.4109, allocations: 105 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.4111, allocations: 11.12 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.4112, allocations: 47.09 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.4113, allocations: 30.23 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.4113, allocations: 3.781 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.4115, allocations: 44.84 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.393e-05/0.4115, allocations: 22.73 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.415e-05/0.4116, allocations: 36 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.4119, allocations: 117.8 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4119, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4119, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.4119, allocations: 0 / 0.5339 GB, free: 10.84 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.0005822/0.4125, allocations: 432.8 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4125, allocations: 9.625 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.4126, allocations: 40.05 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.4126, allocations: 10.39 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.413, allocations: 221.3 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.413, allocations: 5.734 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.413, allocations: 5.312 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.4132, allocations: 54.05 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4132, allocations: 5.375 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.4132, allocations: 0 / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4133, allocations: 1.375 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.684e-05/0.4133, allocations: 21.61 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.4138, allocations: 290.8 kB / 0.5349 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.414, allocations: 53.92 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.908e-05/0.4141, allocations: 26.48 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.4141, allocations: 0 / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.4143, allocations: 69.06 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4143, allocations: 1.375 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006487/0.415, allocations: 174.4 kB / 0.5353 GB, free: 9.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.415, allocations: 55.34 kB / 0.5353 GB, free: 9.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.4153, allocations: 204.5 kB / 0.5355 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.4153, allocations: 27.02 kB / 0.5355 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.4154, allocations: 102 kB / 0.5356 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.4154, allocations: 26.94 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.4155, allocations: 20.53 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.4157, allocations: 326.3 kB / 0.536 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.4157, allocations: 19.11 kB / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.852e-05/0.4158, allocations: 38.89 kB / 0.536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.4159, allocations: 63.61 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4159, allocations: 384 / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.4161, allocations: 103.8 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4162, allocations: 4.938 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4162, allocations: 5.219 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4162, allocations: 1.375 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.719e-05/0.4163, allocations: 29.2 kB / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.4163, allocations: 0 / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.4164, allocations: 6.094 kB / 0.5362 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.4164, allocations: 3.594 kB / 0.5362 GB, free: 8.613 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.000113/0.4165, allocations: 126.8 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.4165, allocations: 13.53 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.4166, allocations: 19.06 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4166, allocations: 1.125 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.4166, allocations: 3.984 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4166, allocations: 7.938 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.4171, allocations: 387.4 kB / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4171, allocations: 0 / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.4172, allocations: 8 kB / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.4172, allocations: 4.969 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.4172, allocations: 5.109 kB / 0.5368 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4172, allocations: 1.094 kB / 0.5368 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.4172, allocations: 5.156 kB / 0.5368 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.4174, allocations: 204.3 kB / 0.537 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.4175, allocations: 88.58 kB / 0.5371 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.4175, allocations: 5.062 kB / 0.5371 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.4176, allocations: 10.27 kB / 0.5371 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.4177, allocations: 3.438 kB / 0.5371 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.4177, allocations: 3.406 kB / 0.5371 GB, free: 7.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.4178, allocations: 152.4 kB / 0.5372 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4178, allocations: 0 / 0.5372 GB, free: 7.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.4181, allocations: 25.84 kB / 0.5373 GB, free: 7.656 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.00159/0.4197, allocations: 1.102 MB / 0.5383 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.4199, allocations: 66.61 kB / 0.5384 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4199, allocations: 0 / 0.5384 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.41e-05/0.42, allocations: 21.5 kB / 0.5384 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.4204, allocations: 41.83 kB / 0.5385 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.4222, allocations: 1.649 MB / 0.5401 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.4225, allocations: 0.7097 MB / 0.5408 GB, free: 4.578 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.828e-05/0.4226, allocations: 18.89 kB / 0.5408 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.128e-05/0.4227, allocations: 34.95 kB / 0.5408 GB, free: 4.543 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4227, allocations: 0 / 0.5408 GB, free: 4.543 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.4431, allocations: 3.438 MB / 0.5442 GB, free: 2.688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.939, allocations: 12.42 kB / 0.5442 GB, free: 2.68 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches