Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001581/0.001581, allocations: 113.1 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.001996/0.001996, allocations: 217.2 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2333/0.2333, allocations: 44.93 MB / 358.9 MB, free: 6.254 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 71.89 kB / 0.4931 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3392, allocations: 65.48 MB / 0.5571 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003252/0.3424, allocations: 1.624 MB / 0.5586 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3437, allocations: 0.5504 MB / 0.5592 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.3437, allocations: 4 kB / 0.5592 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.3441, allocations: 127.6 kB / 0.5593 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.3445, allocations: 131.6 kB / 0.5594 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.3448, allocations: 91.69 kB / 0.5595 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.345, allocations: 95.75 kB / 0.5596 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3451, allocations: 21.8 kB / 0.5596 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.807e-05/0.3452, allocations: 39.91 kB / 0.5597 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.3453, allocations: 99.69 kB / 0.5598 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3453, allocations: 4 kB / 0.5598 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.3454, allocations: 43.97 kB / 0.5598 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.218e-05/0.3455, allocations: 31.86 kB / 0.5598 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.3456, allocations: 35.69 kB / 0.5599 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.3458, allocations: 123.4 kB / 0.56 GB, free: 4.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3458, allocations: 0 / 0.56 GB, free: 4.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3458, allocations: 3.938 kB / 0.56 GB, free: 4.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3458, allocations: 0 / 0.56 GB, free: 4.719 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.0005477/0.3463, allocations: 373.4 kB / 0.5604 GB, free: 4.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3464, allocations: 8.031 kB / 0.5604 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.347e-05/0.3464, allocations: 34.73 kB / 0.5604 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.3465, allocations: 16.84 kB / 0.5604 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.3467, allocations: 158.3 kB / 0.5606 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3467, allocations: 4.375 kB / 0.5606 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.3467, allocations: 4.375 kB / 0.5606 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3469, allocations: 61.59 kB / 0.5606 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3469, allocations: 0 / 0.5606 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3469, allocations: 7.984 kB / 0.5606 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3469, allocations: 4 kB / 0.5606 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.3471, allocations: 27.97 kB / 0.5607 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.3475, allocations: 271.8 kB / 0.5609 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.3476, allocations: 34.56 kB / 0.561 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.3477, allocations: 24.94 kB / 0.561 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.3477, allocations: 4 kB / 0.561 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.3477, allocations: 34.56 kB / 0.561 GB, free: 3.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3477, allocations: 0 / 0.561 GB, free: 3.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008996/0.3486, allocations: 237.1 kB / 0.5612 GB, free: 3.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.3487, allocations: 63.33 kB / 0.5613 GB, free: 3.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.3489, allocations: 279.8 kB / 0.5616 GB, free: 2.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.349, allocations: 25.7 kB / 0.5616 GB, free: 2.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.349, allocations: 116.1 kB / 0.5617 GB, free: 2.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.3491, allocations: 27.69 kB / 0.5617 GB, free: 2.758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.3491, allocations: 25.7 kB / 0.5618 GB, free: 2.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3493, allocations: 322.8 kB / 0.5621 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.3494, allocations: 31.98 kB / 0.5621 GB, free: 2.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/0.3494, allocations: 19.98 kB / 0.5621 GB, free: 2.352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.3496, allocations: 60.83 kB / 0.5622 GB, free: 2.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3496, allocations: 0 / 0.5622 GB, free: 2.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002171/0.3498, allocations: 109.5 kB / 0.5623 GB, free: 2.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3498, allocations: 4 kB / 0.5623 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3498, allocations: 4 kB / 0.5623 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3498, allocations: 4 kB / 0.5623 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3499, allocations: 15.98 kB / 0.5623 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.35, allocations: 3.938 kB / 0.5623 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.35, allocations: 4 kB / 0.5623 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.35, allocations: 8.297 kB / 0.5623 GB, free: 2.133 MB / 398.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.0001698/0.3502, allocations: 131.1 kB / 0.5624 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.3502, allocations: 15.91 kB / 0.5625 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.3505, allocations: 135 kB / 0.5626 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3505, allocations: 0 / 0.5626 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3505, allocations: 3.938 kB / 0.5626 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3505, allocations: 0 / 0.5626 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.3511, allocations: 386.3 kB / 0.563 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3511, allocations: 0 / 0.563 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.536e-05/0.3512, allocations: 23.95 kB / 0.563 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3512, allocations: 0 / 0.563 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.3512, allocations: 8 kB / 0.563 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3512, allocations: 0 / 0.563 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3512, allocations: 0 / 0.563 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.3514, allocations: 216.2 kB / 0.5632 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.3514, allocations: 16.27 kB / 0.5632 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.3515, allocations: 3.984 kB / 0.5632 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.3515, allocations: 7.938 kB / 0.5632 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.3516, allocations: 7.984 kB / 0.5632 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.3516, allocations: 4 kB / 0.5632 GB, free: 1.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.3518, allocations: 208.1 kB / 0.5634 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3518, allocations: 0 / 0.5634 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.352, allocations: 27.92 kB / 0.5635 GB, free: 0.875 MB / 398.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.002229/0.3543, allocations: 1.103 MB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.3545, allocations: 59.95 kB / 0.5646 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3545, allocations: 3.938 kB / 0.5646 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.193e-05/0.3546, allocations: 36.12 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.355, allocations: 26.92 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.3574, allocations: 1.808 MB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.3579, allocations: 0.7213 MB / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.778e-05/0.3579, allocations: 12.66 kB / 0.5671 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.982e-05/0.358, allocations: 39.42 kB / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.358, allocations: 0 / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.3859, allocations: 3.562 MB / 0.5707 GB, free: 9.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.51, allocations: 11.92 kB / 0.5707 GB, free: 9.598 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_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_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.672692609994556]