Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001497/0.001497, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.001457/0.001457, allocations: 207.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.429/1.429, 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.2563/0.2563, allocations: 46.96 MB / 360.9 MB, free: 4.051 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.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 71.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3429, allocations: 66.03 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003513/0.3464, allocations: 1.593 MB / 0.5622 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.3486, allocations: 1.232 MB / 0.5634 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.3487, allocations: 4 kB / 0.5634 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.349, allocations: 19.8 kB / 0.5634 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.3493, allocations: 91.61 kB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.3496, allocations: 91.69 kB / 0.5636 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.3497, allocations: 67.78 kB / 0.5636 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3498, allocations: 13.81 kB / 0.5636 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.978e-05/0.3499, allocations: 27.86 kB / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.35, allocations: 31.84 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.3501, allocations: 4 kB / 0.5637 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.3502, allocations: 91.94 kB / 0.5638 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.3503, allocations: 15.92 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.3503, allocations: 31.81 kB / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.3506, allocations: 135.5 kB / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3506, allocations: 0 / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3506, allocations: 0 / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3506, allocations: 0 / 0.564 GB, free: 0.7891 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.000567/0.3512, allocations: 329.7 kB / 0.5643 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3512, allocations: 8.031 kB / 0.5643 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.3513, allocations: 30.75 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.3513, allocations: 8.891 kB / 0.5643 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.3515, allocations: 146.3 kB / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3516, allocations: 8.375 kB / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.3516, allocations: 384 / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3518, allocations: 89.05 kB / 0.5645 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3518, allocations: 4 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.3518, allocations: 0 / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.3518, allocations: 0 / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.503e-05/0.3519, allocations: 23.97 kB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.3523, allocations: 251.9 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.3526, allocations: 38.56 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.3526, allocations: 24.94 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.3526, allocations: 0 / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.3527, allocations: 30.56 kB / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.3527, allocations: 0 / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005888/0.3533, allocations: 137.4 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.3533, allocations: 85.09 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.3535, allocations: 148.3 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3535, allocations: 29.7 kB / 0.5653 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.3536, allocations: 96.08 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.3536, allocations: 19.84 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.3536, allocations: 17.72 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3538, allocations: 326.7 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.04e-05/0.3539, allocations: 19.98 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.765e-05/0.354, allocations: 59.47 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.3541, allocations: 48.83 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3541, allocations: 4.031 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001873/0.3543, allocations: 77.62 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3543, allocations: 4 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3543, allocations: 0 / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.3543, allocations: 0 / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/0.3544, allocations: 19.92 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3544, allocations: 0 / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.3545, allocations: 7.938 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.3545, allocations: 7.984 kB / 0.566 GB, free: 14.51 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.0001001/0.3546, allocations: 117.8 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.3546, allocations: 7.953 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.3548, allocations: 90.05 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3548, allocations: 0 / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3549, allocations: 0 / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3549, allocations: 3.938 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.3553, allocations: 313.6 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3553, allocations: 8 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.758e-05/0.3554, allocations: 12.3 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3554, allocations: 3.938 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3554, allocations: 3.938 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3554, allocations: 4 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3554, allocations: 4 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.3556, allocations: 179.4 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.3556, allocations: 8.234 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.3557, allocations: 3.938 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.3557, allocations: 12 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.3558, allocations: 7.969 kB / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3558, allocations: 0 / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.3559, allocations: 117.9 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3559, allocations: 0 / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.3562, allocations: 35.88 kB / 0.5669 GB, free: 13.5 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.002374/0.3585, allocations: 1.144 MB / 0.568 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.3587, allocations: 47.91 kB / 0.568 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3587, allocations: 0 / 0.568 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.3588, allocations: 23.98 kB / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.3592, allocations: 20.17 kB / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.361, allocations: 1.425 MB / 0.5695 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.781e-05/0.3611, allocations: 87.02 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.711e-05/0.3612, allocations: 20.02 kB / 0.5696 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.3612, allocations: 31.36 kB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3612, allocations: 0 / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.3922, allocations: 3.857 MB / 0.5734 GB, free: 6.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.26, allocations: 3.938 kB / 0.5734 GB, free: 6.992 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_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_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.363095426000655]