Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.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.001294/0.001294, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001467/0.001467, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.742 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.2302/0.2302, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.91 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3244, allocations: 66.03 MB / 0.5606 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.00354/0.3279, allocations: 1.597 MB / 0.5622 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.33, allocations: 1.224 MB / 0.5634 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.164e-05/0.3301, allocations: 0 / 0.5634 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.3303, allocations: 31.78 kB / 0.5634 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003851/0.3307, allocations: 87.61 kB / 0.5635 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.3311, allocations: 91.64 kB / 0.5636 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.3313, allocations: 67.83 kB / 0.5636 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3314, allocations: 10.09 kB / 0.5636 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.101e-05/0.3315, allocations: 35.8 kB / 0.5637 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.3316, allocations: 31.84 kB / 0.5637 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.3316, allocations: 0 / 0.5637 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.3318, allocations: 91.94 kB / 0.5638 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.3318, allocations: 15.94 kB / 0.5638 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.3319, allocations: 27.8 kB / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.3322, allocations: 131.5 kB / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3322, allocations: 4 kB / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3322, allocations: 0 / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.3322, allocations: 0 / 0.564 GB, free: 0.9219 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.0005218/0.3327, allocations: 329.7 kB / 0.5643 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3327, allocations: 8.031 kB / 0.5643 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.3328, allocations: 30.75 kB / 0.5643 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.3328, allocations: 8.891 kB / 0.5643 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.333, allocations: 149.1 kB / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.333, allocations: 4.375 kB / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.3331, allocations: 4.375 kB / 0.5645 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.3333, allocations: 89.05 kB / 0.5646 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3333, allocations: 0 / 0.5646 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3333, allocations: 0 / 0.5646 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3333, allocations: 0 / 0.5646 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.133e-05/0.3334, allocations: 23.97 kB / 0.5646 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.3338, allocations: 243.9 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.334, allocations: 42.56 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.888e-05/0.3341, allocations: 20.94 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3341, allocations: 0 / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.3341, allocations: 34.56 kB / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.3341, allocations: 0 / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005919/0.3347, allocations: 141.6 kB / 0.565 GB, free: 15.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.3348, allocations: 77.11 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.3349, allocations: 152.9 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.335, allocations: 29.7 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.335, allocations: 88.14 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.3351, allocations: 31.72 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.3351, allocations: 17.72 kB / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3353, allocations: 322.8 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.492e-05/0.3353, allocations: 19.92 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.366e-05/0.3354, allocations: 59.59 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.3356, allocations: 52.86 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3356, allocations: 3.938 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001886/0.3358, allocations: 77.72 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3358, allocations: 4 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3358, allocations: 3.984 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3358, allocations: 4 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.3359, allocations: 15.92 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3359, allocations: 0 / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.3359, allocations: 11.94 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.3359, allocations: 4 kB / 0.566 GB, free: 14.64 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 (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.0001233/0.3361, allocations: 117.8 kB / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.3361, allocations: 7.953 kB / 0.5661 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.3363, allocations: 86.06 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3363, allocations: 0 / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3364, allocations: 4 kB / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3364, allocations: 3.938 kB / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.3368, allocations: 317.6 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3368, allocations: 0 / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.3369, allocations: 11.98 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3369, allocations: 0 / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.3369, allocations: 8.125 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3369, allocations: 4 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3369, allocations: 0 / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.3371, allocations: 175.4 kB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.3371, allocations: 11.94 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.3372, allocations: 11.94 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.3372, allocations: 4 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.3373, allocations: 3.984 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3373, allocations: 4 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.3374, allocations: 111.2 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3374, allocations: 4 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.3377, allocations: 35.81 kB / 0.5669 GB, free: 13.64 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 (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.002344/0.34, allocations: 1.145 MB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.3402, allocations: 51.91 kB / 0.568 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3402, allocations: 0 / 0.568 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.3403, allocations: 23.98 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.3407, allocations: 19.92 kB / 0.5681 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.3425, allocations: 1.423 MB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.851e-05/0.3426, allocations: 75.08 kB / 0.5695 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.101e-05/0.3427, allocations: 20.25 kB / 0.5695 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.428e-05/0.3428, allocations: 27.42 kB / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3428, allocations: 0 / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.375, allocations: 3.826 MB / 0.5733 GB, free: 7.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.92, allocations: 14.58 kB / 0.5733 GB, free: 7.164 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test35.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.csv failed! Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.0861364309676]