Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001304/0.001304, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001628/0.001628, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2232/0.2232, allocations: 46.96 MB / 360.9 MB, free: 4.047 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.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.89 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3466, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003074/0.3496, allocations: 1.617 MB / 0.5622 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.3506, allocations: 0.5154 MB / 0.5627 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.3507, allocations: 0 / 0.5627 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.351, allocations: 123.7 kB / 0.5628 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.3513, allocations: 135.5 kB / 0.5629 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.3516, allocations: 87.69 kB / 0.563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.3518, allocations: 107.7 kB / 0.5631 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.955e-05/0.3519, allocations: 13.83 kB / 0.5631 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.3519, allocations: 47.81 kB / 0.5632 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.3521, allocations: 91.77 kB / 0.5633 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.3521, allocations: 4 kB / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.153e-05/0.3522, allocations: 39.98 kB / 0.5633 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.3523, allocations: 39.84 kB / 0.5634 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.3523, allocations: 31.67 kB / 0.5634 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.3525, allocations: 127.4 kB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3525, allocations: 0 / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3525, allocations: 0 / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3525, allocations: 0 / 0.5635 GB, free: 1.258 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.0005071/0.353, allocations: 361.4 kB / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3531, allocations: 8.031 kB / 0.5639 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/0.3531, allocations: 42.69 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.3532, allocations: 12.84 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.3533, allocations: 170.3 kB / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3534, allocations: 384 / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.3534, allocations: 4.375 kB / 0.5641 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.3535, allocations: 61.59 kB / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3535, allocations: 0 / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.3535, allocations: 0 / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3536, allocations: 4 kB / 0.5641 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.3537, allocations: 23.98 kB / 0.5642 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.354, allocations: 275.8 kB / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.3541, allocations: 38.56 kB / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.3542, allocations: 28.94 kB / 0.5645 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.3542, allocations: 0 / 0.5645 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.3542, allocations: 30.56 kB / 0.5645 GB, free: 88 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3542, allocations: 0 / 0.5645 GB, free: 88 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008777/0.3551, allocations: 241.4 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.3552, allocations: 55.34 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.3555, allocations: 275.8 kB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3555, allocations: 25.7 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.3556, allocations: 116.1 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.3556, allocations: 31.73 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.3556, allocations: 21.72 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3558, allocations: 326.8 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/0.3559, allocations: 27.98 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.589e-05/0.3559, allocations: 23.98 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.3561, allocations: 60.83 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3561, allocations: 0 / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002178/0.3563, allocations: 105.6 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3563, allocations: 11.92 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3563, allocations: 3.938 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3563, allocations: 7.938 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.3564, allocations: 15.98 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3564, allocations: 7.938 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.3565, allocations: 4 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3565, allocations: 4 kB / 0.5658 GB, free: 14.68 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 (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.0001119/0.3566, allocations: 135.1 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.3566, allocations: 11.91 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.3569, allocations: 127.3 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3569, allocations: 0 / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3569, allocations: 3.938 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3569, allocations: 8 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.3575, allocations: 374.4 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3575, allocations: 0 / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.3575, allocations: 23.92 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3575, allocations: 4 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3576, allocations: 0 / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3576, allocations: 4 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3576, allocations: 0 / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.3578, allocations: 212.2 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.3578, allocations: 15.84 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.3579, allocations: 7.984 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.3579, allocations: 4 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.358, allocations: 7.984 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-06/0.358, allocations: 4 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.3582, allocations: 212.1 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3582, allocations: 0 / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.3584, allocations: 19.92 kB / 0.5669 GB, free: 13.44 MB / 414.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.00227/0.3607, allocations: 1.141 MB / 0.5681 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3609, allocations: 59.97 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3609, allocations: 0 / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.361, allocations: 39.91 kB / 0.5682 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.3614, allocations: 28.28 kB / 0.5682 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.3635, allocations: 1.809 MB / 0.57 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.3636, allocations: 101.1 kB / 0.57 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.708e-05/0.3636, allocations: 12.66 kB / 0.5701 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.691e-05/0.3637, allocations: 39.42 kB / 0.5701 GB, free: 10.3 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3637, allocations: 4 kB / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.3914, allocations: 3.982 MB / 0.574 GB, free: 6.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.16, allocations: 10.39 kB / 0.574 GB, free: 6.348 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.208696788002271]