Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002348/0.002348, allocations: 206.8 kB / 23.73 MB, free: 4.398 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.628/1.628, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2818/0.2818, allocations: 44.94 MB / 358.9 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 66.56 kB / 0.4931 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.32, allocations: 65.47 MB / 0.557 GB, free: 7.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003166/0.3231, allocations: 1.662 MB / 0.5586 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3241, allocations: 0.5388 MB / 0.5591 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.3242, allocations: 3.938 kB / 0.5591 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.3244, allocations: 51.75 kB / 0.5592 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.3247, allocations: 103.6 kB / 0.5593 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.325, allocations: 135.4 kB / 0.5594 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.3252, allocations: 79.83 kB / 0.5595 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3253, allocations: 22.05 kB / 0.5595 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.968e-05/0.3254, allocations: 35.84 kB / 0.5596 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.3255, allocations: 59.73 kB / 0.5596 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.3255, allocations: 7.938 kB / 0.5596 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.3256, allocations: 51.98 kB / 0.5597 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.08e-05/0.3257, allocations: 27.86 kB / 0.5597 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.3257, allocations: 23.8 kB / 0.5597 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.3259, allocations: 123.5 kB / 0.5598 GB, free: 4.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3259, allocations: 0 / 0.5598 GB, free: 4.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3259, allocations: 0 / 0.5598 GB, free: 4.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3259, allocations: 0 / 0.5598 GB, free: 4.512 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.0005511/0.3265, allocations: 349.6 kB / 0.5602 GB, free: 4.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3265, allocations: 12.03 kB / 0.5602 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.3265, allocations: 34.75 kB / 0.5602 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.3266, allocations: 16.84 kB / 0.5602 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3268, allocations: 143 kB / 0.5604 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.3268, allocations: 384 / 0.5604 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.3268, allocations: 8.375 kB / 0.5604 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.327, allocations: 69.59 kB / 0.5604 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.327, allocations: 3.953 kB / 0.5604 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.327, allocations: 0 / 0.5604 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.327, allocations: 0 / 0.5604 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.3272, allocations: 47.91 kB / 0.5605 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.3276, allocations: 271.8 kB / 0.5607 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.3278, allocations: 58.58 kB / 0.5608 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.3279, allocations: 24.97 kB / 0.5608 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.3279, allocations: 0 / 0.5608 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.328, allocations: 34.56 kB / 0.5609 GB, free: 3.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.328, allocations: 0 / 0.5609 GB, free: 3.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001545/0.3295, allocations: 408.8 kB / 0.5613 GB, free: 2.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.3296, allocations: 51.41 kB / 0.5613 GB, free: 2.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.3298, allocations: 196.2 kB / 0.5615 GB, free: 2.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.3298, allocations: 29.7 kB / 0.5615 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/0.3299, allocations: 104.1 kB / 0.5616 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.3299, allocations: 43.58 kB / 0.5617 GB, free: 2.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.33, allocations: 29.72 kB / 0.5617 GB, free: 2.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3301, allocations: 322.8 kB / 0.562 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.3303, allocations: 48.52 kB / 0.562 GB, free: 2.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.3304, allocations: 40.08 kB / 0.5621 GB, free: 2.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.3307, allocations: 104.9 kB / 0.5622 GB, free: 1.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3307, allocations: 4 kB / 0.5622 GB, free: 1.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003297/0.331, allocations: 145.5 kB / 0.5623 GB, free: 1.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.331, allocations: 4 kB / 0.5623 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.331, allocations: 0 / 0.5623 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.331, allocations: 7.938 kB / 0.5623 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.3311, allocations: 27.92 kB / 0.5624 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3311, allocations: 0 / 0.5624 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.445e-05/0.3312, allocations: 19.98 kB / 0.5624 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3312, allocations: 0 / 0.5624 GB, free: 1.715 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.0001117/0.3313, allocations: 129.8 kB / 0.5625 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.3314, allocations: 11.91 kB / 0.5625 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.3318, allocations: 162.9 kB / 0.5627 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3318, allocations: 7.938 kB / 0.5627 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.3318, allocations: 0 / 0.5627 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.3318, allocations: 4 kB / 0.5627 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007203/0.3325, allocations: 443 kB / 0.5631 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3325, allocations: 0 / 0.5631 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3326, allocations: 27.98 kB / 0.5631 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3326, allocations: 0 / 0.5631 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.3326, allocations: 4 kB / 0.5631 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3327, allocations: 8.062 kB / 0.5631 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3327, allocations: 0 / 0.5631 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.3331, allocations: 260.9 kB / 0.5634 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.3331, allocations: 15.94 kB / 0.5634 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3331, allocations: 4 kB / 0.5634 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3332, allocations: 7.984 kB / 0.5634 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.3333, allocations: 11.98 kB / 0.5634 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3333, allocations: 8 kB / 0.5634 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.3334, allocations: 156.9 kB / 0.5636 GB, free: 384 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3334, allocations: 0 / 0.5636 GB, free: 384 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000275/0.3337, allocations: 24 kB / 0.5636 GB, free: 360 kB / 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.00247/0.3362, allocations: 1.184 MB / 0.5648 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.3365, allocations: 103.9 kB / 0.5649 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3365, allocations: 0 / 0.5649 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.3366, allocations: 56.03 kB / 0.5649 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.337, allocations: 19.98 kB / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.3394, allocations: 1.835 MB / 0.5667 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.3395, allocations: 92.75 kB / 0.5668 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.472e-05/0.3396, allocations: 28.33 kB / 0.5668 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.3396, allocations: 35.42 kB / 0.5669 GB, free: 13.08 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3396, allocations: 4.094 kB / 0.5669 GB, free: 13.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.369, allocations: 3.98 MB / 0.5708 GB, free: 9.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.58, allocations: 4 kB / 0.5708 GB, free: 9.141 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.833595626056194]