Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, 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.001693/0.001693, 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.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2296/0.2296, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 76.38 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4241, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003159/0.4273, allocations: 1.733 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.4291, allocations: 1.018 MB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/0.4292, allocations: 1.062 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.4294, allocations: 44.36 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.4297, allocations: 100.9 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.4299, allocations: 79.48 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.4301, allocations: 104.3 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.319e-05/0.4301, allocations: 14.39 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.535e-05/0.4302, allocations: 41.23 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.4303, allocations: 38.17 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.4303, allocations: 3.688 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.975e-05/0.4304, allocations: 39.75 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.4305, allocations: 30.84 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.4306, allocations: 33.28 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.4308, allocations: 125.8 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.4308, allocations: 1.375 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4308, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.4308, allocations: 0 / 0.5339 GB, free: 10.86 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.000441/0.4312, allocations: 426.2 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.4313, allocations: 9.625 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.4313, allocations: 44.11 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.4313, allocations: 9.016 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.4316, allocations: 221.9 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.4316, allocations: 5.75 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.4316, allocations: 5.312 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.4318, allocations: 54.05 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.4318, allocations: 1.375 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.4318, allocations: 0 / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.4318, allocations: 1.375 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/0.4319, allocations: 21.61 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.4322, allocations: 296.1 kB / 0.535 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.4323, allocations: 57.92 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.4324, allocations: 21.11 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.4324, allocations: 5.312 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.4325, allocations: 73.12 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.4326, allocations: 3.938 kB / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004476/0.433, allocations: 171.7 kB / 0.5353 GB, free: 9.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.4331, allocations: 51.41 kB / 0.5353 GB, free: 9.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.4333, allocations: 220 kB / 0.5355 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4333, allocations: 27.08 kB / 0.5356 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.4333, allocations: 109.6 kB / 0.5357 GB, free: 9.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.4334, allocations: 19.98 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.4334, allocations: 24.58 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4335, allocations: 323 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-05/0.4336, allocations: 18.78 kB / 0.536 GB, free: 8.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.065e-05/0.4336, allocations: 38.67 kB / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.4338, allocations: 67.64 kB / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4338, allocations: 3.938 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.434, allocations: 104 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.434, allocations: 5.406 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.434, allocations: 0.9375 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.434, allocations: 0.9062 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.743e-05/0.4341, allocations: 16.91 kB / 0.5363 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.4341, allocations: 1.031 kB / 0.5363 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.4342, allocations: 17.86 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.4342, allocations: 6.562 kB / 0.5363 GB, free: 8.621 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 9.55e-05/0.4343, allocations: 120.2 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.4343, allocations: 14.34 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.4344, allocations: 22.45 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4344, allocations: 1.969 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4344, allocations: 0 / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4344, allocations: 3.938 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.4349, allocations: 399.3 kB / 0.5368 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4349, allocations: 1.219 kB / 0.5368 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.4349, allocations: 7.781 kB / 0.5368 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.4349, allocations: 5 kB / 0.5368 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.4349, allocations: 1.094 kB / 0.5368 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.435, allocations: 1.375 kB / 0.5368 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.435, allocations: 5 kB / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.4352, allocations: 213.1 kB / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.4353, allocations: 88.38 kB / 0.5371 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.4353, allocations: 5.125 kB / 0.5371 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.4354, allocations: 2.281 kB / 0.5371 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.4354, allocations: 11.42 kB / 0.5372 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.4355, allocations: 7.359 kB / 0.5372 GB, free: 7.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.4356, allocations: 159.2 kB / 0.5373 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4356, allocations: 0 / 0.5373 GB, free: 7.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.4359, allocations: 21.22 kB / 0.5373 GB, free: 7.66 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.001444/0.4373, allocations: 1.094 MB / 0.5384 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.4375, allocations: 65.72 kB / 0.5385 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4375, allocations: 1.812 kB / 0.5385 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.154e-05/0.4376, allocations: 28.97 kB / 0.5385 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.4379, allocations: 28.36 kB / 0.5385 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.4397, allocations: 1.697 MB / 0.5402 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.44, allocations: 0.7062 MB / 0.5409 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.922e-05/0.44, allocations: 17.95 kB / 0.5409 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.4401, allocations: 43.67 kB / 0.5409 GB, free: 4.523 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4401, allocations: 0 / 0.5409 GB, free: 4.523 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.4606, allocations: 3.503 MB / 0.5443 GB, free: 2.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.373/7.834, allocations: 5.344 kB / 0.5443 GB, free: 2.637 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_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_Test45.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches