Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001599/0.001599, 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.001809/0.001809, 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.475/1.475, 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.2169/0.2169, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 83.81 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3053, allocations: 62.42 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002891/0.3082, allocations: 1.688 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009632/0.3092, allocations: 0.5497 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.3092, allocations: 0 / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.3095, allocations: 70.83 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.3098, allocations: 100.9 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.3102, allocations: 138.7 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.3103, allocations: 85.08 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3104, allocations: 20.44 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.886e-05/0.3105, allocations: 41.25 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3106, allocations: 51.64 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.3107, allocations: 3.375 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.3108, allocations: 58.03 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.286e-05/0.3108, allocations: 24.31 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.3109, allocations: 43.16 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.3111, allocations: 124.2 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3111, allocations: 0 / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3111, allocations: 1.906 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.3111, allocations: 0 / 0.5335 GB, free: 11.21 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.0004967/0.3116, allocations: 434.3 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3117, allocations: 9.219 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.262e-05/0.3117, allocations: 44.27 kB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.3117, allocations: 13.5 kB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.3119, allocations: 205.1 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.3119, allocations: 1.562 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.312, allocations: 4.125 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3121, allocations: 66.8 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3121, allocations: 5.5 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3122, allocations: 3.984 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3122, allocations: 1.594 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.3123, allocations: 38.31 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.3126, allocations: 312.3 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.3129, allocations: 59.28 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/0.313, allocations: 23.97 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.313, allocations: 5.375 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.313, allocations: 31.94 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.545e-06/0.313, allocations: 96 / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001483/0.3145, allocations: 409.5 kB / 0.535 GB, free: 9.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3146, allocations: 58.16 kB / 0.5351 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.3148, allocations: 220.3 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3148, allocations: 25.7 kB / 0.5353 GB, free: 9.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.3149, allocations: 110.5 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.3149, allocations: 44.55 kB / 0.5355 GB, free: 9.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.315, allocations: 21.12 kB / 0.5355 GB, free: 9.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3151, allocations: 331.5 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3153, allocations: 43.22 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.3154, allocations: 39.81 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.3156, allocations: 100 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.3157, allocations: 4.5 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000316/0.316, allocations: 146.8 kB / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.316, allocations: 9.625 kB / 0.5362 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.316, allocations: 0 / 0.5362 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.316, allocations: 4.969 kB / 0.5362 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3162, allocations: 32.3 kB / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3162, allocations: 1.094 kB / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.143e-05/0.3163, allocations: 10.58 kB / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.3163, allocations: 2.469 kB / 0.5362 GB, free: 8.832 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.0001013/0.3164, allocations: 137.5 kB / 0.5363 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.3164, allocations: 13.75 kB / 0.5363 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.3168, allocations: 172.3 kB / 0.5365 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.3168, allocations: 5.094 kB / 0.5365 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3169, allocations: 1.219 kB / 0.5365 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.3169, allocations: 3.984 kB / 0.5365 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.3175, allocations: 478 kB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3175, allocations: 1.219 kB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3177, allocations: 24.86 kB / 0.537 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3177, allocations: 1.156 kB / 0.537 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3177, allocations: 6.469 kB / 0.537 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3177, allocations: 5.406 kB / 0.537 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3177, allocations: 0 / 0.537 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.318, allocations: 260.7 kB / 0.5373 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.3181, allocations: 92.5 kB / 0.5373 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.3182, allocations: 6.156 kB / 0.5374 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3183, allocations: 11.17 kB / 0.5374 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.3183, allocations: 7.719 kB / 0.5374 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.3183, allocations: 11.58 kB / 0.5374 GB, free: 7.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.3185, allocations: 165.9 kB / 0.5375 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3185, allocations: 0 / 0.5375 GB, free: 7.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.3187, allocations: 26.62 kB / 0.5376 GB, free: 7.672 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.001551/0.3203, allocations: 1.142 MB / 0.5387 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.3206, allocations: 110.8 kB / 0.5388 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3207, allocations: 0 / 0.5388 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.3208, allocations: 59.41 kB / 0.5388 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.3212, allocations: 24.23 kB / 0.5389 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.3235, allocations: 1.888 MB / 0.5407 GB, free: 5.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3238, allocations: 0.7111 MB / 0.5414 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.905e-05/0.3238, allocations: 23.06 kB / 0.5414 GB, free: 4.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/0.3239, allocations: 39.36 kB / 0.5415 GB, free: 4.383 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3239, allocations: 0 / 0.5415 GB, free: 4.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.3435, allocations: 3.487 MB / 0.5449 GB, free: 2.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.077, allocations: 5.828 kB / 0.5449 GB, free: 2.504 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_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_CombiTable2Ds_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches