Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001957/0.001957, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002291/0.002291, allocations: 214.1 kB / 24.52 MB, free: 3.941 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2656/0.2656, allocations: 44.94 MB / 359.6 MB, free: 6.062 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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="cs",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.002/0.002, allocations: 55.91 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.316, allocations: 65.48 MB / 0.5578 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003345/0.3194, allocations: 1.603 MB / 0.5593 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3206, allocations: 0.5309 MB / 0.5598 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.3206, allocations: 0 / 0.5598 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.321, allocations: 103.7 kB / 0.5599 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.3213, allocations: 119.6 kB / 0.56 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.3216, allocations: 95.69 kB / 0.5601 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.3218, allocations: 91.73 kB / 0.5602 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.322, allocations: 9.828 kB / 0.5602 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.622e-05/0.322, allocations: 51.88 kB / 0.5603 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.3222, allocations: 75.73 kB / 0.5604 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3222, allocations: 4 kB / 0.5604 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.3223, allocations: 43.98 kB / 0.5604 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.3224, allocations: 27.86 kB / 0.5604 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.3224, allocations: 19.81 kB / 0.5604 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.3226, allocations: 119.4 kB / 0.5606 GB, free: 4.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3226, allocations: 0 / 0.5606 GB, free: 4.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3226, allocations: 0 / 0.5606 GB, free: 4.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3226, allocations: 0 / 0.5606 GB, free: 4.641 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005169/0.3231, allocations: 365.4 kB / 0.5609 GB, free: 4.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3232, allocations: 12.03 kB / 0.5609 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.534e-05/0.3232, allocations: 192 / 0.5609 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.001e-05/0.3232, allocations: 34.75 kB / 0.561 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.3233, allocations: 12.89 kB / 0.561 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.3234, allocations: 151 kB / 0.5611 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3235, allocations: 8.359 kB / 0.5611 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.3235, allocations: 4.125 kB / 0.5611 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3236, allocations: 61.66 kB / 0.5612 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3236, allocations: 3.953 kB / 0.5612 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.3237, allocations: 0 / 0.5612 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3237, allocations: 4 kB / 0.5612 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.3238, allocations: 27.97 kB / 0.5612 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.3241, allocations: 263.9 kB / 0.5615 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3242, allocations: 38.56 kB / 0.5615 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.3243, allocations: 20.94 kB / 0.5615 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3243, allocations: 0 / 0.5615 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3243, allocations: 34.56 kB / 0.5616 GB, free: 3.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.3243, allocations: 0 / 0.5616 GB, free: 3.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009614/0.3253, allocations: 241.1 kB / 0.5618 GB, free: 3.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.3254, allocations: 55.34 kB / 0.5618 GB, free: 3.176 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.3256, allocations: 262.9 kB / 0.5621 GB, free: 2.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3257, allocations: 25.7 kB / 0.5621 GB, free: 2.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.3257, allocations: 108.1 kB / 0.5622 GB, free: 2.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.3258, allocations: 39.75 kB / 0.5623 GB, free: 2.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.3258, allocations: 25.7 kB / 0.5623 GB, free: 2.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.326, allocations: 326.8 kB / 0.5626 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.976e-05/0.3261, allocations: 19.98 kB / 0.5626 GB, free: 2.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.469e-05/0.3261, allocations: 27.98 kB / 0.5626 GB, free: 2.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.3263, allocations: 60.83 kB / 0.5627 GB, free: 2.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3263, allocations: 0 / 0.5627 GB, free: 2.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000261/0.3265, allocations: 109.5 kB / 0.5628 GB, free: 2.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3266, allocations: 4 kB / 0.5628 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3266, allocations: 0 / 0.5628 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3266, allocations: 0 / 0.5628 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3267, allocations: 19.98 kB / 0.5628 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.3267, allocations: 4.25 kB / 0.5628 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.3267, allocations: 8 kB / 0.5628 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3267, allocations: 0 / 0.5628 GB, free: 2.109 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 (8): * Single equations (assignments): 8 * 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.0001189/0.3269, allocations: 133.8 kB / 0.563 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.3269, allocations: 15.91 kB / 0.563 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.3272, allocations: 127 kB / 0.5631 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3272, allocations: 0 / 0.5631 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3272, allocations: 3.938 kB / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3272, allocations: 0 / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.3277, allocations: 374.8 kB / 0.5635 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3277, allocations: 3.938 kB / 0.5635 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.551e-05/0.3278, allocations: 24.02 kB / 0.5635 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3278, allocations: 0 / 0.5635 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.3278, allocations: 0 / 0.5635 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3278, allocations: 0 / 0.5635 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3278, allocations: 4 kB / 0.5635 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.3281, allocations: 212.2 kB / 0.5637 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.3281, allocations: 11.89 kB / 0.5637 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.3281, allocations: 8 kB / 0.5637 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.3282, allocations: 3.984 kB / 0.5637 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.3283, allocations: 12 kB / 0.5637 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.3283, allocations: 7.984 kB / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.3285, allocations: 187.2 kB / 0.5639 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3285, allocations: 3.938 kB / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.3288, allocations: 23.94 kB / 0.5639 GB, free: 0.8828 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002357/0.3311, allocations: 1.13 MB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.3314, allocations: 67.84 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3314, allocations: 0 / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.089e-05/0.3315, allocations: 32.12 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.3318, allocations: 31.11 kB / 0.5652 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.334, allocations: 1.769 MB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.3341, allocations: 97.77 kB / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.236e-05/0.3342, allocations: 12.67 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.3343, allocations: 39.41 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3343, allocations: 4 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.3571, allocations: 3.508 MB / 0.5705 GB, free: 10.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.79, allocations: 7.312 kB / 0.5705 GB, free: 10.33 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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: 15.037612261017784]