Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001735/0.001735, 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.002156/0.002156, allocations: 202.9 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.77 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.2386/0.2386, allocations: 46.97 MB / 360.9 MB, free: 4.02 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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.89 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3591, allocations: 66.04 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003271/0.3624, allocations: 1.647 MB / 0.5622 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3634, allocations: 0.5271 MB / 0.5627 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.84e-05/0.3635, allocations: 0 / 0.5627 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005819/0.3641, allocations: 451.1 kB / 0.5632 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004995/0.3646, allocations: 303.3 kB / 0.5635 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.3649, allocations: 131.5 kB / 0.5636 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.3651, allocations: 167.6 kB / 0.5637 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3653, allocations: 25.78 kB / 0.5638 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.3654, allocations: 103.8 kB / 0.5639 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.3656, allocations: 255.5 kB / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.3657, allocations: 4 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.101e-05/0.3658, allocations: 31.94 kB / 0.5641 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3659, allocations: 87.69 kB / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.935e-05/0.3659, allocations: 75.22 kB / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.3663, allocations: 262.6 kB / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3663, allocations: 0 / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3663, allocations: 0 / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3663, allocations: 0 / 0.5645 GB, free: 172 kB / 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.0007691/0.367, allocations: 0.5892 MB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3671, allocations: 16.02 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.3671, allocations: 34.75 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.3672, allocations: 48.61 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.3675, allocations: 242.8 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3675, allocations: 4.375 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.3675, allocations: 4.375 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3677, allocations: 53.61 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3677, allocations: 4 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.3677, allocations: 0 / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3677, allocations: 0 / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.341e-05/0.3678, allocations: 35.91 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.3682, allocations: 351.7 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.3685, allocations: 46.56 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.3685, allocations: 16.94 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.3685, allocations: 3.938 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.3685, allocations: 34.56 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3685, allocations: 0 / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006038/0.3692, allocations: 228.7 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3692, allocations: 55.39 kB / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008707/0.3701, allocations: 0.8815 MB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3701, allocations: 25.7 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.3703, allocations: 224.1 kB / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.3703, allocations: 19.83 kB / 0.5674 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.3703, allocations: 13.72 kB / 0.5674 GB, free: 13.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3705, allocations: 362.8 kB / 0.5677 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.3706, allocations: 15.98 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.519e-05/0.3706, allocations: 23.92 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.3708, allocations: 53.02 kB / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3708, allocations: 0 / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002147/0.371, allocations: 133.2 kB / 0.5679 GB, free: 12.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.371, allocations: 4 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.371, allocations: 0 / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.371, allocations: 0 / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.549e-05/0.3711, allocations: 12 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.3711, allocations: 0 / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.3712, allocations: 11.92 kB / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.3712, allocations: 4 kB / 0.568 GB, free: 12.46 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.0001935/0.3714, allocations: 213.8 kB / 0.5682 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.501e-05/0.3714, allocations: 43.72 kB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.3717, allocations: 133.2 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3717, allocations: 0 / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3717, allocations: 0 / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3717, allocations: 3.938 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.3723, allocations: 433.6 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3723, allocations: 0 / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.3723, allocations: 12 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3723, allocations: 0 / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3723, allocations: 15.86 kB / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3723, allocations: 0 / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3723, allocations: 192 / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.3726, allocations: 215.5 kB / 0.569 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.3727, allocations: 39.7 kB / 0.569 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.3727, allocations: 7.938 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.3728, allocations: 11.98 kB / 0.5691 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.3728, allocations: 3.984 kB / 0.5691 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3728, allocations: 4 kB / 0.5691 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006581/0.3735, allocations: 0.6589 MB / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3735, allocations: 0 / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.3737, allocations: 19.94 kB / 0.5697 GB, free: 10.58 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.00209/0.3758, allocations: 1.087 MB / 0.5708 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.376, allocations: 47.95 kB / 0.5708 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.376, allocations: 0 / 0.5708 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.489e-05/0.3761, allocations: 27.92 kB / 0.5709 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.3765, allocations: 27.92 kB / 0.5709 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.3802, allocations: 3.24 MB / 0.574 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.3805, allocations: 220.1 kB / 0.5743 GB, free: 5.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.973e-05/0.3806, allocations: 11.98 kB / 0.5743 GB, free: 5.969 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.3807, allocations: 103.4 kB / 0.5744 GB, free: 5.871 MB / 414.1 MB Notification: Performance of SimCode: time 5e-07/0.3807, allocations: 0 / 0.5744 GB, free: 5.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.4141, allocations: 6.609 MB / 0.5808 GB, free: 15.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.52, allocations: 13.06 kB / 0.5808 GB, free: 15.3 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.697707699000603]