Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.00175/0.00175, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002437/0.002437, allocations: 201.2 kB / 24.52 MB, free: 4.156 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: 8.008 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.2224/0.2224, allocations: 44.91 MB / 359.6 MB, free: 6.297 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.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",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.002132/0.002132, allocations: 59.91 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.318, allocations: 65.48 MB / 0.5578 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.0032/0.3212, allocations: 1.633 MB / 0.5594 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3224, allocations: 0.5582 MB / 0.56 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.3224, allocations: 0 / 0.56 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.3227, allocations: 115.6 kB / 0.5601 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.323, allocations: 107.6 kB / 0.5602 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.3233, allocations: 95.69 kB / 0.5603 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.3235, allocations: 95.73 kB / 0.5604 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3236, allocations: 17.81 kB / 0.5604 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.3237, allocations: 39.89 kB / 0.5604 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.3238, allocations: 75.73 kB / 0.5605 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.3238, allocations: 4 kB / 0.5605 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3239, allocations: 47.92 kB / 0.5605 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.324, allocations: 23.92 kB / 0.5606 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.324, allocations: 43.66 kB / 0.5606 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.3243, allocations: 119.4 kB / 0.5607 GB, free: 4.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3243, allocations: 3.938 kB / 0.5607 GB, free: 4.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3243, allocations: 0 / 0.5607 GB, free: 4.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.3243, allocations: 0 / 0.5607 GB, free: 4.816 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.0005062/0.3248, allocations: 353.5 kB / 0.561 GB, free: 4.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3248, allocations: 16.02 kB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.194e-05/0.3248, allocations: 192 / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.3249, allocations: 34.69 kB / 0.5611 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.3249, allocations: 16.89 kB / 0.5611 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.3251, allocations: 147.1 kB / 0.5613 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.3251, allocations: 384 / 0.5613 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.3251, allocations: 12.11 kB / 0.5613 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.3253, allocations: 53.69 kB / 0.5613 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3253, allocations: 3.953 kB / 0.5613 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.3253, allocations: 0 / 0.5613 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3253, allocations: 4 kB / 0.5613 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.3254, allocations: 23.97 kB / 0.5613 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.3258, allocations: 271.8 kB / 0.5616 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.3259, allocations: 42.55 kB / 0.5616 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.326, allocations: 24.94 kB / 0.5617 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.326, allocations: 0 / 0.5617 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.326, allocations: 38.5 kB / 0.5617 GB, free: 3.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.326, allocations: 0 / 0.5617 GB, free: 3.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000906/0.3269, allocations: 241.1 kB / 0.5619 GB, free: 3.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.327, allocations: 59.34 kB / 0.562 GB, free: 3.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.3272, allocations: 255 kB / 0.5622 GB, free: 3.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.3273, allocations: 29.7 kB / 0.5623 GB, free: 3.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/0.3274, allocations: 108.1 kB / 0.5624 GB, free: 2.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.3274, allocations: 23.75 kB / 0.5624 GB, free: 2.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.3274, allocations: 33.7 kB / 0.5624 GB, free: 2.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3276, allocations: 322.8 kB / 0.5627 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.3277, allocations: 19.98 kB / 0.5627 GB, free: 2.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-05/0.3277, allocations: 27.98 kB / 0.5628 GB, free: 2.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.3279, allocations: 60.83 kB / 0.5628 GB, free: 2.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3279, allocations: 0 / 0.5628 GB, free: 2.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002316/0.3281, allocations: 109.5 kB / 0.5629 GB, free: 2.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3281, allocations: 8 kB / 0.5629 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3282, allocations: 0 / 0.5629 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3282, allocations: 0 / 0.5629 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3283, allocations: 23.98 kB / 0.563 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3283, allocations: 3.938 kB / 0.563 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.3283, allocations: 0 / 0.563 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.3283, allocations: 4 kB / 0.563 GB, free: 2.293 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.0001091/0.3284, allocations: 137.8 kB / 0.5631 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.3285, allocations: 19.91 kB / 0.5631 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.3288, allocations: 119 kB / 0.5632 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3288, allocations: 0 / 0.5632 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3288, allocations: 3.938 kB / 0.5632 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3288, allocations: 3.984 kB / 0.5632 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.3294, allocations: 386.7 kB / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3294, allocations: 3.938 kB / 0.5636 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-05/0.3294, allocations: 15.98 kB / 0.5636 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3294, allocations: 4 kB / 0.5636 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3295, allocations: 4 kB / 0.5636 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3295, allocations: 3.938 kB / 0.5636 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3295, allocations: 4.016 kB / 0.5637 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.3297, allocations: 212.3 kB / 0.5639 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.3298, allocations: 15.89 kB / 0.5639 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.3298, allocations: 0 / 0.5639 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/0.3299, allocations: 11.98 kB / 0.5639 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.3299, allocations: 0 / 0.5639 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3299, allocations: 4 kB / 0.5639 GB, free: 1.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.3301, allocations: 191.2 kB / 0.5641 GB, free: 1.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3301, allocations: 0 / 0.5641 GB, free: 1.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3303, allocations: 27.92 kB / 0.5641 GB, free: 1.055 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.002283/0.3326, allocations: 1.088 MB / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.3329, allocations: 63.89 kB / 0.5652 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3329, allocations: 0 / 0.5652 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.333, allocations: 35.97 kB / 0.5653 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.3334, allocations: 34.73 kB / 0.5653 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.3356, allocations: 1.757 MB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.3359, allocations: 0.7158 MB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.912e-05/0.336, allocations: 12.97 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.3361, allocations: 39.42 kB / 0.5677 GB, free: 13.35 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3361, allocations: 0 / 0.5677 GB, free: 13.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.3596, allocations: 3.472 MB / 0.5711 GB, free: 9.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.77, allocations: 15.42 kB / 0.5712 GB, free: 9.934 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.947077788994648]