Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001384/0.001384, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002518/0.002518, allocations: 212 kB / 23.73 MB, free: 4.387 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2284/0.2284, allocations: 44.94 MB / 358.9 MB, free: 6.07 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.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",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.002206/0.002206, allocations: 63.89 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.317, allocations: 65.48 MB / 0.557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003171/0.3202, allocations: 1.598 MB / 0.5585 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3213, allocations: 0.5309 MB / 0.5591 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.3213, allocations: 0 / 0.5591 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.3215, allocations: 31.78 kB / 0.5591 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.3218, allocations: 79.69 kB / 0.5592 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.3221, allocations: 95.69 kB / 0.5593 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.3222, allocations: 75.77 kB / 0.5593 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.3223, allocations: 5.828 kB / 0.5593 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.912e-05/0.3224, allocations: 31.91 kB / 0.5594 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.166e-05/0.3225, allocations: 31.84 kB / 0.5594 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.3225, allocations: 7.938 kB / 0.5594 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.3227, allocations: 95.88 kB / 0.5595 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.567e-05/0.3227, allocations: 15.98 kB / 0.5595 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.3228, allocations: 23.86 kB / 0.5595 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.323, allocations: 155.4 kB / 0.5597 GB, free: 4.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.323, allocations: 0 / 0.5597 GB, free: 4.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.323, allocations: 0 / 0.5597 GB, free: 4.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.323, allocations: 0 / 0.5597 GB, free: 4.797 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005341/0.3236, allocations: 337.6 kB / 0.56 GB, free: 4.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3236, allocations: 8.031 kB / 0.56 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.3237, allocations: 38.73 kB / 0.5601 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.3237, allocations: 8.891 kB / 0.5601 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.3239, allocations: 134.4 kB / 0.5602 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3239, allocations: 8.375 kB / 0.5602 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.324, allocations: 4.375 kB / 0.5602 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.3242, allocations: 101 kB / 0.5603 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.3242, allocations: 0 / 0.5603 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.3242, allocations: 7.969 kB / 0.5603 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3242, allocations: 0 / 0.5603 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.801e-05/0.3243, allocations: 23.98 kB / 0.5603 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.3248, allocations: 275.8 kB / 0.5606 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.3249, allocations: 50.56 kB / 0.5606 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.765e-05/0.325, allocations: 28.97 kB / 0.5607 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.325, allocations: 4 kB / 0.5607 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.325, allocations: 34.55 kB / 0.5607 GB, free: 3.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.325, allocations: 0 / 0.5607 GB, free: 3.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006515/0.3257, allocations: 181.3 kB / 0.5609 GB, free: 3.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.3257, allocations: 85.05 kB / 0.561 GB, free: 3.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.3259, allocations: 160 kB / 0.5611 GB, free: 3.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.3259, allocations: 25.7 kB / 0.5611 GB, free: 3.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/0.326, allocations: 100 kB / 0.5612 GB, free: 3.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.3261, allocations: 27.78 kB / 0.5613 GB, free: 2.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.3261, allocations: 25.72 kB / 0.5613 GB, free: 2.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3263, allocations: 322.8 kB / 0.5616 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-05/0.3264, allocations: 35.91 kB / 0.5616 GB, free: 2.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3265, allocations: 67.41 kB / 0.5617 GB, free: 2.527 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.3267, allocations: 76.84 kB / 0.5618 GB, free: 2.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3267, allocations: 0 / 0.5618 GB, free: 2.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002535/0.3269, allocations: 117.5 kB / 0.5619 GB, free: 2.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3269, allocations: 4 kB / 0.5619 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3269, allocations: 4 kB / 0.5619 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.327, allocations: 0 / 0.5619 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3271, allocations: 19.98 kB / 0.5619 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.3271, allocations: 0 / 0.5619 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.3271, allocations: 7.984 kB / 0.5619 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.3271, allocations: 7.938 kB / 0.5619 GB, free: 2.285 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 (9): * Single equations (assignments): 9 * 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.0001039/0.3272, allocations: 125.8 kB / 0.562 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.3273, allocations: 7.953 kB / 0.562 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.3276, allocations: 114.3 kB / 0.5622 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3276, allocations: 3.984 kB / 0.5622 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3276, allocations: 288 / 0.5622 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3276, allocations: 0 / 0.5622 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.3282, allocations: 361.5 kB / 0.5625 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3282, allocations: 3.938 kB / 0.5625 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-05/0.3282, allocations: 20.36 kB / 0.5625 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3282, allocations: 0 / 0.5625 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.3282, allocations: 15.88 kB / 0.5625 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3282, allocations: 240 / 0.5625 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3283, allocations: 0 / 0.5625 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.3285, allocations: 207.4 kB / 0.5627 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.3285, allocations: 3.953 kB / 0.5627 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.3286, allocations: 11.94 kB / 0.5628 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.3286, allocations: 11.94 kB / 0.5628 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.3287, allocations: 3.984 kB / 0.5628 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.3287, allocations: 4 kB / 0.5628 GB, free: 1.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.3288, allocations: 115.2 kB / 0.5629 GB, free: 1.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3288, allocations: 0 / 0.5629 GB, free: 1.207 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003338/0.3291, allocations: 47.86 kB / 0.5629 GB, free: 1.16 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 (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.002487/0.3316, allocations: 1.176 MB / 0.5641 GB, free: 192 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.3319, allocations: 75.88 kB / 0.5641 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3319, allocations: 0 / 0.5641 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.502e-05/0.332, allocations: 27.98 kB / 0.5642 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.3324, allocations: 24.88 kB / 0.5642 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.3346, allocations: 1.562 MB / 0.5657 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.3347, allocations: 82.94 kB / 0.5658 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.3348, allocations: 20.41 kB / 0.5658 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.354e-05/0.3349, allocations: 31.42 kB / 0.5659 GB, free: 14.27 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3349, allocations: 4 kB / 0.5659 GB, free: 14.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.3667, allocations: 4.17 MB / 0.5699 GB, free: 10.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.78, allocations: 10.97 kB / 0.5699 GB, free: 10.11 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.893390199169517]