Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 121.6 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.001167/0.001167, allocations: 203.9 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.385/1.385, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2355/0.2355, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 75.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3612, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003012/0.3642, allocations: 1.619 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3653, allocations: 0.5586 MB / 0.5326 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.3654, allocations: 0 / 0.5326 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006109/0.366, allocations: 453.5 kB / 0.5331 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004745/0.3665, allocations: 291.7 kB / 0.5334 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.367, allocations: 183.2 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.3673, allocations: 163.3 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3674, allocations: 10.67 kB / 0.5337 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.3675, allocations: 111 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.3678, allocations: 210 kB / 0.534 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.3678, allocations: 2.594 kB / 0.534 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.483e-05/0.3679, allocations: 27.11 kB / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.368, allocations: 82.88 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3682, allocations: 107.1 kB / 0.5342 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.3685, allocations: 260.1 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3685, allocations: 0 / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3685, allocations: 0 / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3685, allocations: 0 / 0.5345 GB, free: 10.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008169/0.3693, allocations: 0.6592 MB / 0.5351 GB, free: 10.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3694, allocations: 8.719 kB / 0.5351 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.3694, allocations: 36.94 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.883e-05/0.3695, allocations: 46.25 kB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.3698, allocations: 304 kB / 0.5355 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.3698, allocations: 1.406 kB / 0.5355 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.3699, allocations: 2.719 kB / 0.5355 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.37, allocations: 60.42 kB / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.37, allocations: 4 kB / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3701, allocations: 5.016 kB / 0.5356 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.3701, allocations: 1.031 kB / 0.5356 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.284e-05/0.3702, allocations: 21.98 kB / 0.5356 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.3707, allocations: 386.1 kB / 0.5359 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.973e-05/0.3708, allocations: 36.47 kB / 0.536 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.3709, allocations: 19.44 kB / 0.536 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.3709, allocations: 1.25 kB / 0.536 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3709, allocations: 35.88 kB / 0.536 GB, free: 9.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.3709, allocations: 0 / 0.536 GB, free: 9.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002881/0.3712, allocations: 104.1 kB / 0.5361 GB, free: 9.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.3713, allocations: 56.88 kB / 0.5362 GB, free: 9.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.3723, allocations: 0.8772 MB / 0.537 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3723, allocations: 26.83 kB / 0.5371 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.3726, allocations: 225.6 kB / 0.5373 GB, free: 8.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.3726, allocations: 8.984 kB / 0.5373 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.3726, allocations: 17.06 kB / 0.5373 GB, free: 8.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3728, allocations: 363.5 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-05/0.3729, allocations: 13.58 kB / 0.5377 GB, free: 8.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/0.3729, allocations: 14.2 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.284e-05/0.373, allocations: 28.28 kB / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.373, allocations: 0 / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001576/0.3732, allocations: 94.81 kB / 0.5378 GB, free: 7.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3732, allocations: 9.203 kB / 0.5378 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.3732, allocations: 4 kB / 0.5378 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3733, allocations: 1.031 kB / 0.5378 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.3733, allocations: 4.5 kB / 0.5378 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3733, allocations: 8.031 kB / 0.5378 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.3734, allocations: 2.375 kB / 0.5378 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.3734, allocations: 1.031 kB / 0.5378 GB, free: 7.973 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0002067/0.3736, allocations: 214.3 kB / 0.538 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/0.3737, allocations: 45.55 kB / 0.5381 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.3739, allocations: 109.5 kB / 0.5382 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.374, allocations: 1.094 kB / 0.5382 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.374, allocations: 4.031 kB / 0.5382 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.374, allocations: 1.125 kB / 0.5382 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.3743, allocations: 292 kB / 0.5385 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3743, allocations: 1.25 kB / 0.5385 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.015e-05/0.3744, allocations: 7.641 kB / 0.5385 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3744, allocations: 1.344 kB / 0.5385 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-06/0.3744, allocations: 0 / 0.5385 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3744, allocations: 1.25 kB / 0.5385 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.3744, allocations: 3.938 kB / 0.5385 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.3746, allocations: 190.5 kB / 0.5387 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.846e-05/0.3747, allocations: 118.7 kB / 0.5388 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.3748, allocations: 0 / 0.5388 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.3749, allocations: 2.188 kB / 0.5388 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.3749, allocations: 9.016 kB / 0.5388 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.3749, allocations: 1.062 kB / 0.5388 GB, free: 7.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007334/0.3756, allocations: 0.6559 MB / 0.5394 GB, free: 6.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3756, allocations: 5.375 kB / 0.5394 GB, free: 6.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.3759, allocations: 26.86 kB / 0.5395 GB, free: 6.812 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.001328/0.3772, allocations: 0.9663 MB / 0.5404 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.3774, allocations: 27.38 kB / 0.5404 GB, free: 6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3774, allocations: 0 / 0.5404 GB, free: 6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.298e-05/0.3775, allocations: 8.594 kB / 0.5404 GB, free: 6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.3779, allocations: 31.62 kB / 0.5405 GB, free: 5.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.3813, allocations: 3.194 MB / 0.5436 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.3818, allocations: 0.8188 MB / 0.5444 GB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.429e-05/0.3819, allocations: 28.3 kB / 0.5444 GB, free: 3.121 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.382, allocations: 114.7 kB / 0.5445 GB, free: 3.012 MB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.382, allocations: 0 / 0.5445 GB, free: 3.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.405, allocations: 5.779 MB / 0.5502 GB, free: 13.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.616, allocations: 7.172 kB / 0.5502 GB, free: 13.36 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches