Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001763/0.001763, 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.002039/0.002039, allocations: 205.2 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.441/1.441, 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.2212/0.2212, allocations: 46.11 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 72.09 kB / 481 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3866, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003569/0.3903, allocations: 1.729 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.3929, allocations: 1.624 MB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.243e-05/0.393, allocations: 1.375 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.3933, allocations: 41.33 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.3937, allocations: 99.03 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.394, allocations: 78.91 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.3942, allocations: 102.4 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3943, allocations: 14.88 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.3945, allocations: 53.64 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.3947, allocations: 45.52 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.3947, allocations: 5.5 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.3949, allocations: 107 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.395, allocations: 16.05 kB / 0.5345 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.775e-05/0.3951, allocations: 36.05 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.3954, allocations: 170.3 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3954, allocations: 1.375 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3955, allocations: 0 / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3955, allocations: 4 kB / 0.5347 GB, free: 10.23 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.0007079/0.3962, allocations: 426.2 kB / 0.5351 GB, free: 9.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3962, allocations: 9.625 kB / 0.5351 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.121e-05/0.3963, allocations: 36.11 kB / 0.5351 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.3964, allocations: 12.97 kB / 0.5352 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.3967, allocations: 220.3 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3968, allocations: 1.344 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.3968, allocations: 5.344 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.397, allocations: 75.2 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.397, allocations: 0 / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.397, allocations: 0 / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3971, allocations: 1.438 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.3971, allocations: 18.7 kB / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.3977, allocations: 289.5 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.3979, allocations: 64.98 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.898e-05/0.3979, allocations: 18.45 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.398, allocations: 0.875 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.3981, allocations: 65.17 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.797e-06/0.3982, allocations: 0 / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005826/0.3987, allocations: 185 kB / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.107e-05/0.3988, allocations: 86.33 kB / 0.5361 GB, free: 8.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.399, allocations: 166.7 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3991, allocations: 26.86 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.3992, allocations: 100.9 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.3992, allocations: 31.02 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.3992, allocations: 21.25 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3994, allocations: 326 kB / 0.5368 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.3995, allocations: 22.19 kB / 0.5368 GB, free: 8.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/0.3996, allocations: 45.23 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.3997, allocations: 55.38 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3997, allocations: 0 / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001977/0.3999, allocations: 99.56 kB / 0.537 GB, free: 7.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3999, allocations: 9.031 kB / 0.537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3999, allocations: 1.125 kB / 0.537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3999, allocations: 1.125 kB / 0.537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.4, allocations: 17.41 kB / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/0.4001, allocations: 9.016 kB / 0.537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.4001, allocations: 6 kB / 0.537 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.4001, allocations: 2.469 kB / 0.537 GB, free: 7.977 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.0001085/0.4002, allocations: 120.5 kB / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.4003, allocations: 9.234 kB / 0.5372 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.4003, allocations: 20.3 kB / 0.5372 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.4003, allocations: 5.125 kB / 0.5372 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4003, allocations: 0 / 0.5372 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4004, allocations: 1.406 kB / 0.5372 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.4009, allocations: 403.9 kB / 0.5376 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4009, allocations: 4.875 kB / 0.5376 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.4009, allocations: 8.219 kB / 0.5376 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4009, allocations: 1.438 kB / 0.5376 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.401, allocations: 9.453 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.401, allocations: 4 kB / 0.5376 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.401, allocations: 1.156 kB / 0.5376 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.4012, allocations: 207.7 kB / 0.5378 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.4013, allocations: 89 kB / 0.5379 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.4013, allocations: 1.219 kB / 0.5379 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.4014, allocations: 14.77 kB / 0.5379 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.4015, allocations: 2.688 kB / 0.5379 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.4015, allocations: 3.875 kB / 0.5379 GB, free: 7.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.4016, allocations: 131.4 kB / 0.538 GB, free: 7.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4016, allocations: 3.938 kB / 0.538 GB, free: 7.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.4019, allocations: 42.22 kB / 0.5381 GB, free: 7.012 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.002397/0.4043, allocations: 1.187 MB / 0.5392 GB, free: 6.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.4045, allocations: 58.53 kB / 0.5393 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4045, allocations: 4.062 kB / 0.5393 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/0.4046, allocations: 29.39 kB / 0.5393 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.405, allocations: 36.92 kB / 0.5394 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.4068, allocations: 1.587 MB / 0.5409 GB, free: 4.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.4072, allocations: 0.7043 MB / 0.5416 GB, free: 3.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.271e-05/0.4073, allocations: 15.34 kB / 0.5416 GB, free: 3.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.968e-05/0.4074, allocations: 37.81 kB / 0.5416 GB, free: 3.883 MB / 398.1 MB Notification: Performance of SimCode: time 2.255e-06/0.4074, allocations: 0 / 0.5416 GB, free: 3.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.4359, allocations: 4.019 MB / 0.5456 GB, free: 1.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/8.174, allocations: 12.23 kB / 0.5456 GB, free: 1.645 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches