Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001485, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002255/0.002255, allocations: 198 kB / 18.73 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.393/1.393, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 87.8 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3572, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002886/0.3602, allocations: 1.67 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3613, allocations: 0.5828 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.56e-05/0.3614, allocations: 1.406 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.3617, allocations: 75.14 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.362, allocations: 106 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.3625, allocations: 185.5 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.3628, allocations: 92.05 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.3629, allocations: 19.94 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.363, allocations: 44.81 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.3631, allocations: 58.44 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3631, allocations: 3.094 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.3633, allocations: 49.45 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.035e-05/0.3634, allocations: 34.38 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.3634, allocations: 34.61 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.3637, allocations: 127.1 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.3637, allocations: 0 / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3637, allocations: 0 / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3637, allocations: 1.375 kB / 0.5335 GB, free: 11.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005549/0.3643, allocations: 438.3 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3643, allocations: 9.625 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.3644, allocations: 40.11 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.3644, allocations: 19.66 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.3646, allocations: 209.8 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3646, allocations: 5.75 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.3647, allocations: 7.109 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.3648, allocations: 72.78 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3649, allocations: 5.375 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.3649, allocations: 0 / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3649, allocations: 1.375 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.3651, allocations: 40.72 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.3655, allocations: 335.2 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.3658, allocations: 64.67 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.871e-05/0.3658, allocations: 25.34 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.3659, allocations: 5.359 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.3659, allocations: 31.94 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3659, allocations: 0 / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001523/0.3674, allocations: 434.7 kB / 0.5352 GB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.3675, allocations: 52.81 kB / 0.5353 GB, free: 9.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.3677, allocations: 223.4 kB / 0.5355 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.3678, allocations: 25.7 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.3678, allocations: 106.9 kB / 0.5356 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.3679, allocations: 40.19 kB / 0.5356 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.3679, allocations: 34.36 kB / 0.5357 GB, free: 9.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.3681, allocations: 326.5 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.3682, allocations: 48.75 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.3684, allocations: 53.61 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.3687, allocations: 128.2 kB / 0.5362 GB, free: 8.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3687, allocations: 0 / 0.5362 GB, free: 8.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003638/0.369, allocations: 173 kB / 0.5364 GB, free: 8.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3691, allocations: 6.188 kB / 0.5364 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3691, allocations: 0 / 0.5364 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3691, allocations: 3.938 kB / 0.5364 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3692, allocations: 32.31 kB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3692, allocations: 0.9375 kB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.3693, allocations: 6.625 kB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.3693, allocations: 6.406 kB / 0.5364 GB, free: 8.73 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 (11): * Single equations (assignments): 11 * 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.0001005/0.3694, allocations: 134.9 kB / 0.5365 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.3695, allocations: 18.55 kB / 0.5366 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.3699, allocations: 192.7 kB / 0.5367 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3699, allocations: 4.938 kB / 0.5368 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.37, allocations: 1.688 kB / 0.5368 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.37, allocations: 0 / 0.5368 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007126/0.3707, allocations: 0.5162 MB / 0.5373 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3707, allocations: 0 / 0.5373 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.3708, allocations: 32.88 kB / 0.5373 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3708, allocations: 1.031 kB / 0.5373 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3708, allocations: 2.5 kB / 0.5373 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3708, allocations: 1.25 kB / 0.5373 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3709, allocations: 5 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.3713, allocations: 281.5 kB / 0.5376 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.012e-05/0.3714, allocations: 96.91 kB / 0.5377 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.3714, allocations: 2.531 kB / 0.5377 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3715, allocations: 13.98 kB / 0.5377 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.3716, allocations: 4.344 kB / 0.5377 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.3716, allocations: 7.781 kB / 0.5377 GB, free: 7.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.3718, allocations: 173.6 kB / 0.5379 GB, free: 7.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.795e-06/0.3718, allocations: 0 / 0.5379 GB, free: 7.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.3721, allocations: 35.47 kB / 0.5379 GB, free: 7.508 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001577/0.3736, allocations: 1.155 MB / 0.539 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.374, allocations: 129.4 kB / 0.5391 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.374, allocations: 0 / 0.5391 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.3742, allocations: 67.17 kB / 0.5392 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.3746, allocations: 30.03 kB / 0.5392 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.3771, allocations: 1.983 MB / 0.5412 GB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3774, allocations: 0.7225 MB / 0.5419 GB, free: 4.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.3776, allocations: 42.94 kB / 0.5419 GB, free: 4.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.3776, allocations: 47.27 kB / 0.542 GB, free: 4.133 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3776, allocations: 1.75 kB / 0.542 GB, free: 4.133 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.4012, allocations: 3.608 MB / 0.5455 GB, free: 2.195 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.154, allocations: 9.969 kB / 0.5455 GB, free: 2.188 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches