Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001425/0.001425, 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.001696/0.001696, 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.378/1.378, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2214/0.2214, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 79.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3656, allocations: 62.43 MB / 0.5306 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003409/0.3691, allocations: 1.725 MB / 0.5323 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.371, allocations: 1.019 MB / 0.5333 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.799e-05/0.3711, allocations: 1.156 kB / 0.5333 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.3715, allocations: 57.78 kB / 0.5333 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.3719, allocations: 103.1 kB / 0.5334 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.3722, allocations: 74.73 kB / 0.5335 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.3724, allocations: 113.6 kB / 0.5336 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.3725, allocations: 10.69 kB / 0.5336 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.3727, allocations: 44.19 kB / 0.5337 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.517e-05/0.3728, allocations: 39.09 kB / 0.5337 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.3728, allocations: 4 kB / 0.5337 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3729, allocations: 38.95 kB / 0.5338 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.526e-05/0.373, allocations: 22.33 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.3731, allocations: 54.28 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.3734, allocations: 132.8 kB / 0.5339 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3734, allocations: 4 kB / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3734, allocations: 4 kB / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3734, allocations: 0 / 0.534 GB, free: 11.04 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.3741, allocations: 452 kB / 0.5344 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3742, allocations: 9.625 kB / 0.5344 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.3742, allocations: 36.12 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.3743, allocations: 15.72 kB / 0.5344 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.3747, allocations: 220.4 kB / 0.5347 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3747, allocations: 9.672 kB / 0.5347 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.3747, allocations: 13.3 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3749, allocations: 54.05 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3749, allocations: 1.375 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.375, allocations: 3.938 kB / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.375, allocations: 1.375 kB / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.421e-05/0.3751, allocations: 21.61 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.3755, allocations: 296.3 kB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.3757, allocations: 65.86 kB / 0.5351 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.324e-05/0.3758, allocations: 21.09 kB / 0.5351 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.3758, allocations: 1.375 kB / 0.5351 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.376, allocations: 65.14 kB / 0.5352 GB, free: 9.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.376, allocations: 0 / 0.5352 GB, free: 9.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000597/0.3766, allocations: 189 kB / 0.5354 GB, free: 9.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3767, allocations: 52.78 kB / 0.5354 GB, free: 9.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.377, allocations: 275.8 kB / 0.5357 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.377, allocations: 26.77 kB / 0.5357 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.3771, allocations: 115.5 kB / 0.5358 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.3771, allocations: 26.94 kB / 0.5358 GB, free: 9.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.3772, allocations: 21.25 kB / 0.5359 GB, free: 9.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3773, allocations: 331.4 kB / 0.5362 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.3774, allocations: 27.11 kB / 0.5362 GB, free: 8.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.3774, allocations: 38.89 kB / 0.5362 GB, free: 8.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.3776, allocations: 59.2 kB / 0.5363 GB, free: 8.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3776, allocations: 1.062 kB / 0.5363 GB, free: 8.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002/0.3778, allocations: 108.7 kB / 0.5364 GB, free: 8.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3778, allocations: 8.875 kB / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.3778, allocations: 0.8125 kB / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3778, allocations: 1.312 kB / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.3779, allocations: 17.3 kB / 0.5364 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3779, allocations: 1.469 kB / 0.5364 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.378, allocations: 6.281 kB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.378, allocations: 14.59 kB / 0.5365 GB, free: 8.723 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.0001236/0.3782, allocations: 133.4 kB / 0.5366 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.3782, allocations: 14.53 kB / 0.5366 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.3782, allocations: 25.17 kB / 0.5366 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3783, allocations: 1.094 kB / 0.5366 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.3783, allocations: 1.219 kB / 0.5366 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3783, allocations: 3.938 kB / 0.5366 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.3788, allocations: 408.2 kB / 0.537 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3788, allocations: 1.188 kB / 0.537 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.718e-05/0.3788, allocations: 11.39 kB / 0.537 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3788, allocations: 5.031 kB / 0.537 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3788, allocations: 5.125 kB / 0.537 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3788, allocations: 1.219 kB / 0.537 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3789, allocations: 1.062 kB / 0.537 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.3791, allocations: 210.3 kB / 0.5372 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.3792, allocations: 88.48 kB / 0.5373 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.3792, allocations: 9.109 kB / 0.5373 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.3793, allocations: 2.375 kB / 0.5373 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.3793, allocations: 11.41 kB / 0.5373 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.3794, allocations: 7.297 kB / 0.5373 GB, free: 7.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.3796, allocations: 198.7 kB / 0.5375 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3796, allocations: 0.9062 kB / 0.5375 GB, free: 7.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.3799, allocations: 25.78 kB / 0.5376 GB, free: 7.734 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.001608/0.3815, allocations: 1.1 MB / 0.5386 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.3817, allocations: 57.89 kB / 0.5387 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3817, allocations: 0 / 0.5387 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.637e-05/0.3818, allocations: 30.3 kB / 0.5387 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.3822, allocations: 28.28 kB / 0.5387 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.3847, allocations: 1.841 MB / 0.5405 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.3851, allocations: 0.721 MB / 0.5413 GB, free: 4.578 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.484e-05/0.3851, allocations: 17.62 kB / 0.5413 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.157e-05/0.3852, allocations: 43.55 kB / 0.5413 GB, free: 4.535 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3852, allocations: 0 / 0.5413 GB, free: 4.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.4085, allocations: 3.778 MB / 0.545 GB, free: 2.527 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/8.165, allocations: 21.72 kB / 0.545 GB, free: 2.512 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_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_Test48.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches