Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.001741/0.001741, allocations: 116 kB / 20.43 MB, free: 1.449 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.001571/0.001571, allocations: 214.8 kB / 23.74 MB, free: 4.66 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.57/1.57, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2395/0.2395, allocations: 44.91 MB / 358.8 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",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.002036/0.002036, allocations: 73.92 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3231, allocations: 65.47 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003494/0.3266, allocations: 1.62 MB / 0.5586 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3277, allocations: 0.5581 MB / 0.5592 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.3278, allocations: 0 / 0.5592 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.328, allocations: 31.83 kB / 0.5592 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.3283, allocations: 79.62 kB / 0.5593 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.3286, allocations: 103.7 kB / 0.5594 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.3287, allocations: 79.75 kB / 0.5594 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.3288, allocations: 9.828 kB / 0.5595 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.578e-05/0.3289, allocations: 23.86 kB / 0.5595 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.247e-05/0.329, allocations: 23.86 kB / 0.5595 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.329, allocations: 4 kB / 0.5595 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.281e-05/0.3291, allocations: 39.92 kB / 0.5595 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.3291, allocations: 11.92 kB / 0.5596 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.3291, allocations: 23.81 kB / 0.5596 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.3293, allocations: 91.58 kB / 0.5597 GB, free: 5.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3294, allocations: 0 / 0.5597 GB, free: 5.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3294, allocations: 4 kB / 0.5597 GB, free: 5.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3294, allocations: 0 / 0.5597 GB, free: 5.066 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.0005413/0.3299, allocations: 321.8 kB / 0.56 GB, free: 4.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.33, allocations: 12.03 kB / 0.56 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.33, allocations: 30.75 kB / 0.56 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.33, allocations: 16.84 kB / 0.56 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.3303, allocations: 138.9 kB / 0.5602 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3303, allocations: 4.125 kB / 0.5602 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.3303, allocations: 4 kB / 0.5602 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3304, allocations: 49.69 kB / 0.5602 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3305, allocations: 0 / 0.5602 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3305, allocations: 0 / 0.5602 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3305, allocations: 0 / 0.5602 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.3306, allocations: 39.83 kB / 0.5603 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.3311, allocations: 256 kB / 0.5605 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.3313, allocations: 46.55 kB / 0.5605 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.3314, allocations: 16.8 kB / 0.5606 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.3314, allocations: 4 kB / 0.5606 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.3314, allocations: 38.64 kB / 0.5606 GB, free: 3.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3314, allocations: 0 / 0.5606 GB, free: 3.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006118/0.332, allocations: 149.4 kB / 0.5607 GB, free: 3.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.3321, allocations: 59.39 kB / 0.5608 GB, free: 3.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.3323, allocations: 178.4 kB / 0.561 GB, free: 3.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.3323, allocations: 25.7 kB / 0.561 GB, free: 3.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.3324, allocations: 104.1 kB / 0.5611 GB, free: 3.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.3324, allocations: 7.906 kB / 0.5611 GB, free: 3.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.3325, allocations: 17.72 kB / 0.5611 GB, free: 3.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3327, allocations: 326.8 kB / 0.5614 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.108e-05/0.3327, allocations: 19.98 kB / 0.5615 GB, free: 3.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.06e-05/0.3328, allocations: 19.98 kB / 0.5615 GB, free: 3.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.3329, allocations: 56.81 kB / 0.5615 GB, free: 2.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3329, allocations: 0 / 0.5615 GB, free: 2.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001981/0.3331, allocations: 93.52 kB / 0.5616 GB, free: 2.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3332, allocations: 8 kB / 0.5616 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3332, allocations: 0 / 0.5616 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3332, allocations: 0 / 0.5616 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.3332, allocations: 15.98 kB / 0.5616 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3333, allocations: 8.125 kB / 0.5616 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.3333, allocations: 3.984 kB / 0.5616 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3333, allocations: 8 kB / 0.5617 GB, free: 2.828 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 (5): * Single equations (assignments): 5 * 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.0001172/0.3334, allocations: 117.8 kB / 0.5618 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.3335, allocations: 11.95 kB / 0.5618 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.3337, allocations: 102 kB / 0.5619 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3337, allocations: 0 / 0.5619 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3337, allocations: 3.938 kB / 0.5619 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3337, allocations: 0 / 0.5619 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.3342, allocations: 329.6 kB / 0.5622 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3342, allocations: 0 / 0.5622 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.558e-05/0.3343, allocations: 19.92 kB / 0.5622 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3343, allocations: 7.875 kB / 0.5622 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3343, allocations: 4 kB / 0.5622 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3343, allocations: 0 / 0.5622 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3343, allocations: 0 / 0.5622 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.3345, allocations: 179.5 kB / 0.5624 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.512e-05/0.3346, allocations: 7.906 kB / 0.5624 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.3346, allocations: 11.94 kB / 0.5624 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.3346, allocations: 7.984 kB / 0.5624 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.3347, allocations: 4 kB / 0.5624 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.3347, allocations: 0 / 0.5624 GB, free: 1.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.3348, allocations: 140.9 kB / 0.5626 GB, free: 1.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3348, allocations: 0 / 0.5626 GB, free: 1.812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.3351, allocations: 15.94 kB / 0.5626 GB, free: 1.797 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 (5): * Single equations (assignments): 5 * 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.001963/0.337, allocations: 1.023 MB / 0.5636 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.3372, allocations: 51.95 kB / 0.5636 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3372, allocations: 0 / 0.5636 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.3373, allocations: 31.92 kB / 0.5637 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.3377, allocations: 21.23 kB / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.3397, allocations: 1.509 MB / 0.5652 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.3401, allocations: 0.7043 MB / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.161e-05/0.3402, allocations: 24.05 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.3402, allocations: 27.42 kB / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3402, allocations: 0 / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.37, allocations: 2.834 MB / 0.5687 GB, free: 11.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.5, allocations: 3.938 kB / 0.5687 GB, free: 11.66 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.630490212934092]