Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002041/0.002041, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.00251/0.00251, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 46.94 MB / 360.9 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3356, allocations: 66.04 MB / 0.5607 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003178/0.3387, allocations: 1.621 MB / 0.5623 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3398, allocations: 0.5581 MB / 0.5628 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.3399, allocations: 4 kB / 0.5628 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.3401, allocations: 31.83 kB / 0.5628 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.3404, allocations: 75.64 kB / 0.5629 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.3407, allocations: 95.69 kB / 0.563 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.3408, allocations: 79.75 kB / 0.5631 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.3409, allocations: 5.828 kB / 0.5631 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.057e-05/0.341, allocations: 31.86 kB / 0.5631 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.887e-05/0.3411, allocations: 39.83 kB / 0.5632 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.3411, allocations: 4 kB / 0.5632 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.3413, allocations: 99.88 kB / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.3413, allocations: 19.92 kB / 0.5633 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.3414, allocations: 23.88 kB / 0.5633 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.3417, allocations: 155.4 kB / 0.5634 GB, free: 1.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3417, allocations: 4 kB / 0.5634 GB, free: 1.602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3417, allocations: 0 / 0.5634 GB, free: 1.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3417, allocations: 0 / 0.5634 GB, free: 1.602 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.0005058/0.3422, allocations: 337.5 kB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3422, allocations: 8.031 kB / 0.5638 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.3423, allocations: 34.75 kB / 0.5638 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.3423, allocations: 12.88 kB / 0.5638 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.3425, allocations: 138.4 kB / 0.564 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3425, allocations: 4.375 kB / 0.564 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.3426, allocations: 4.375 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.3428, allocations: 71.27 kB / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3428, allocations: 4 kB / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3428, allocations: 0 / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.3428, allocations: 0 / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.3429, allocations: 31.97 kB / 0.5641 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.3433, allocations: 271.9 kB / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.3435, allocations: 54.5 kB / 0.5644 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.135e-05/0.3435, allocations: 24.97 kB / 0.5644 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.3436, allocations: 0 / 0.5644 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.3436, allocations: 42.55 kB / 0.5644 GB, free: 456 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.3436, allocations: 0 / 0.5644 GB, free: 456 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006621/0.3443, allocations: 189.6 kB / 0.5646 GB, free: 260 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.3443, allocations: 77.11 kB / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.3445, allocations: 150.1 kB / 0.5648 GB, free: 0 / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.3445, allocations: 33.81 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.3446, allocations: 100 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.3446, allocations: 27.78 kB / 0.565 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.3447, allocations: 25.66 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3448, allocations: 326.8 kB / 0.5653 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.603e-05/0.3449, allocations: 36.03 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.345, allocations: 45.64 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3452, allocations: 76.84 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3452, allocations: 0 / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002385/0.3454, allocations: 113.5 kB / 0.5656 GB, free: 15.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3454, allocations: 8 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3454, allocations: 0 / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3454, allocations: 0 / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.3456, allocations: 19.98 kB / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3456, allocations: 4 kB / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.152e-05/0.3456, allocations: 11.98 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.3456, allocations: 3.938 kB / 0.5656 GB, free: 15.14 MB / 414.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.0001113/0.3457, allocations: 121.8 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.3458, allocations: 7.953 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.3461, allocations: 114.3 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3461, allocations: 0 / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3461, allocations: 4.281 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.3461, allocations: 3.984 kB / 0.5659 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.3466, allocations: 369.4 kB / 0.5662 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3466, allocations: 3.938 kB / 0.5662 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.349e-05/0.3467, allocations: 19.98 kB / 0.5662 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3467, allocations: 0 / 0.5662 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3467, allocations: 7.938 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3467, allocations: 4 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.3467, allocations: 4 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.347, allocations: 199.4 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.347, allocations: 11.94 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.3471, allocations: 7.938 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.3471, allocations: 4 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.3472, allocations: 15.97 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.3472, allocations: 4 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.3473, allocations: 117.5 kB / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3473, allocations: 0 / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.3476, allocations: 51.8 kB / 0.5667 GB, free: 14 MB / 414.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.002355/0.3499, allocations: 1.142 MB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.3502, allocations: 67.95 kB / 0.5678 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3502, allocations: 0 / 0.5678 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/0.3503, allocations: 35.86 kB / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.3507, allocations: 19.98 kB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.3526, allocations: 1.554 MB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.353, allocations: 0.7005 MB / 0.5701 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.332e-05/0.3531, allocations: 20.56 kB / 0.5701 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.3532, allocations: 31.42 kB / 0.5701 GB, free: 10.5 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3532, allocations: 4 kB / 0.5701 GB, free: 10.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.383, allocations: 3.731 MB / 0.5738 GB, free: 6.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.68, allocations: 15.98 kB / 0.5738 GB, free: 6.785 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.640159029979259]