Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001202, allocations: 121.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 200.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, 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.2318/0.2318, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 72.11 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3726, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00301/0.3756, allocations: 1.73 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.3773, allocations: 1.018 MB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.761e-05/0.3774, allocations: 3.938 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.3777, allocations: 44.88 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.378, allocations: 108.1 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.3783, allocations: 74.92 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.3784, allocations: 106.3 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3786, allocations: 10.88 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.937e-05/0.3787, allocations: 48.27 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.3788, allocations: 33.42 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.3788, allocations: 4.125 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3789, allocations: 43.47 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.379, allocations: 25.48 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.379, allocations: 39.92 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.3793, allocations: 126 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3793, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3794, allocations: 3.938 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3794, allocations: 4 kB / 0.5339 GB, free: 10.83 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.0006123/0.38, allocations: 440.8 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.38, allocations: 9.625 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.3801, allocations: 32.12 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.3801, allocations: 14.39 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.3805, allocations: 223.6 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3805, allocations: 1.75 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.3805, allocations: 6.688 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3807, allocations: 57.73 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3807, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3807, allocations: 1.281 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3807, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/0.3808, allocations: 22.67 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.3812, allocations: 297 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3814, allocations: 61.77 kB / 0.5351 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.3815, allocations: 22.12 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3815, allocations: 1.094 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.3817, allocations: 68.89 kB / 0.5351 GB, free: 9.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3817, allocations: 0 / 0.5351 GB, free: 9.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005993/0.3823, allocations: 179.5 kB / 0.5353 GB, free: 9.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.3823, allocations: 65.34 kB / 0.5354 GB, free: 9.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.3826, allocations: 240.4 kB / 0.5356 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.3826, allocations: 30.73 kB / 0.5356 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.3827, allocations: 109.9 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.3827, allocations: 23.41 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.3828, allocations: 20.97 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3829, allocations: 327.5 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.633e-05/0.383, allocations: 18.36 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/0.3831, allocations: 47.45 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.3832, allocations: 66.86 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3832, allocations: 1 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002007/0.3834, allocations: 103.8 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3834, allocations: 6.438 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3834, allocations: 0 / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3834, allocations: 5.531 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.3835, allocations: 20.45 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3836, allocations: 1.125 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.3836, allocations: 10.44 kB / 0.5364 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3836, allocations: 2.844 kB / 0.5364 GB, free: 8.555 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.903e-05/0.3837, allocations: 129.4 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.3838, allocations: 15.47 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.3838, allocations: 18.89 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3838, allocations: 1.375 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3838, allocations: 4 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3838, allocations: 5.312 kB / 0.5365 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.3843, allocations: 397.3 kB / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3843, allocations: 0 / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.3843, allocations: 8.25 kB / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3843, allocations: 5.25 kB / 0.5369 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3843, allocations: 1.188 kB / 0.5369 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3843, allocations: 1.344 kB / 0.5369 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3844, allocations: 7.969 kB / 0.5369 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.3846, allocations: 205.8 kB / 0.5371 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.3846, allocations: 95.97 kB / 0.5372 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.3847, allocations: 6.406 kB / 0.5372 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.3847, allocations: 1.375 kB / 0.5372 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.3848, allocations: 12.11 kB / 0.5372 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.3848, allocations: 6.531 kB / 0.5372 GB, free: 7.699 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.3849, allocations: 170.3 kB / 0.5374 GB, free: 7.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3849, allocations: 0 / 0.5374 GB, free: 7.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.3852, allocations: 25.14 kB / 0.5374 GB, free: 7.582 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.00149/0.3867, allocations: 1.097 MB / 0.5385 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.3869, allocations: 62.58 kB / 0.5386 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3869, allocations: 0 / 0.5386 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.065e-05/0.387, allocations: 33.61 kB / 0.5386 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.3874, allocations: 35.83 kB / 0.5386 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.3892, allocations: 1.746 MB / 0.5403 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.3895, allocations: 0.714 MB / 0.541 GB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.78e-05/0.3895, allocations: 13.47 kB / 0.541 GB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.3896, allocations: 44.36 kB / 0.5411 GB, free: 4.418 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3896, allocations: 0 / 0.5411 GB, free: 4.418 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.411, allocations: 3.606 MB / 0.5446 GB, free: 2.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/7.922, allocations: 19.64 kB / 0.5446 GB, free: 2.473 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_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_Test53.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches