Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001351, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 206 kB / 18.74 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.484/1.484, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 79.88 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3531, allocations: 62.43 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.00294/0.3561, allocations: 1.731 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.3577, allocations: 1.02 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.3578, allocations: 2.031 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.3582, allocations: 49.08 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.3585, allocations: 94.81 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.3587, allocations: 79.97 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.3589, allocations: 105.3 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.359, allocations: 7.094 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.413e-05/0.3591, allocations: 43.5 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.3592, allocations: 42.28 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.3592, allocations: 8.281 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.531e-05/0.3593, allocations: 39.52 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.3594, allocations: 23.28 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.3595, allocations: 31.94 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.3597, allocations: 127.2 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3597, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3597, allocations: 1.375 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3597, 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.0005161/0.3602, allocations: 430.2 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3603, allocations: 17.61 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.3603, allocations: 34.69 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.3604, allocations: 10.39 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.3606, allocations: 220.6 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3607, allocations: 3.125 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.3607, allocations: 5.312 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.3609, allocations: 54.05 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3609, allocations: 0 / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3609, allocations: 1.375 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3609, allocations: 5.359 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.361, allocations: 25.55 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.3614, allocations: 292.2 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.3615, allocations: 53.92 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.3616, allocations: 21.09 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.3616, allocations: 9.312 kB / 0.535 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.3618, allocations: 69.08 kB / 0.5351 GB, free: 9.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.3618, allocations: 0 / 0.5351 GB, free: 9.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005175/0.3623, allocations: 182.6 kB / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.3624, allocations: 52.78 kB / 0.5353 GB, free: 9.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.3626, allocations: 208 kB / 0.5355 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.3626, allocations: 27.08 kB / 0.5356 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.3627, allocations: 109.6 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.3627, allocations: 23.88 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.3627, allocations: 24.39 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3629, allocations: 327.2 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.988e-05/0.3629, allocations: 22.42 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/0.363, allocations: 35.7 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3631, allocations: 62.47 kB / 0.5361 GB, free: 8.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3631, allocations: 0 / 0.5361 GB, free: 8.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001937/0.3633, allocations: 104.1 kB / 0.5362 GB, free: 8.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3634, allocations: 6.406 kB / 0.5362 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3634, allocations: 0 / 0.5362 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3634, allocations: 1.438 kB / 0.5362 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/0.3635, allocations: 20.7 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3635, allocations: 1.156 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.3636, allocations: 13.31 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3636, allocations: 3.219 kB / 0.5363 GB, free: 8.602 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.0001041/0.3637, allocations: 129 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.3637, allocations: 13.28 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.991e-05/0.3638, allocations: 18.94 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3638, allocations: 1.094 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3638, allocations: 0 / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3638, allocations: 5.031 kB / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.3642, allocations: 403 kB / 0.5368 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3643, allocations: 1.094 kB / 0.5368 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.3643, allocations: 11.94 kB / 0.5368 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3643, allocations: 3.938 kB / 0.5368 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.3643, allocations: 5.703 kB / 0.5368 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3643, allocations: 1.094 kB / 0.5368 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3643, allocations: 1.062 kB / 0.5368 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.3646, allocations: 208.6 kB / 0.537 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.3646, allocations: 84.94 kB / 0.5371 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.3647, allocations: 9.156 kB / 0.5371 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.3648, allocations: 2.188 kB / 0.5371 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.3648, allocations: 11.33 kB / 0.5371 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.3648, allocations: 3.562 kB / 0.5371 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.365, allocations: 162.8 kB / 0.5373 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.365, allocations: 0 / 0.5373 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.3652, allocations: 24.83 kB / 0.5373 GB, free: 7.629 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.001497/0.3667, allocations: 1.092 MB / 0.5384 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.367, allocations: 58.81 kB / 0.5385 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.367, allocations: 0 / 0.5385 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-05/0.3671, allocations: 29.09 kB / 0.5385 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.3674, allocations: 39.8 kB / 0.5385 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.3695, allocations: 1.693 MB / 0.5402 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.3699, allocations: 0.7071 MB / 0.5409 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.621e-05/0.37, allocations: 25.34 kB / 0.5409 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.299e-05/0.3701, allocations: 39.42 kB / 0.5409 GB, free: 4.492 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3701, allocations: 0 / 0.5409 GB, free: 4.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.3912, allocations: 3.51 MB / 0.5443 GB, free: 2.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/8.13, allocations: 1.391 kB / 0.5444 GB, free: 2.609 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_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_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches