Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.0008193/0.0008193, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009243/0.0009243, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9394/0.9394, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2435/0.2435, allocations: 32.79 MB / 293.5 MB, free: 1.207 MB / 266.7 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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.974e-05, allocations: 6.781 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002267/0.002287, allocations: 1.597 MB / 441.2 MB, free: 2.609 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.003449, allocations: 1.25 MB / 442.4 MB, free: 1.352 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.003501, allocations: 0 / 442.4 MB, free: 1.352 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.003698, allocations: 23.73 kB / 442.5 MB, free: 1.328 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.003945, allocations: 91.48 kB / 442.6 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.004148, allocations: 111.3 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.004276, allocations: 71.78 kB / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.004368, allocations: 11.97 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.004422, allocations: 31.92 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.37e-05/0.004506, allocations: 31.89 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.004522, allocations: 4 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.004633, allocations: 87.88 kB / 442.9 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.004676, allocations: 11.94 kB / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.004706, allocations: 15.92 kB / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.00491, allocations: 151.5 kB / 443.1 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004912, allocations: 0 / 443.1 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.004913, allocations: 0 / 443.1 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004917, allocations: 0 / 443.1 MB, free: 0.7227 MB / 410.7 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.0004131/0.00533, allocations: 333.6 kB / 443.4 MB, free: 376 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.005371, allocations: 8.031 kB / 443.4 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.0054, allocations: 34.75 kB / 443.4 MB, free: 324 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.005429, allocations: 8.891 kB / 443.5 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.00558, allocations: 137.7 kB / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.00559, allocations: 4.375 kB / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.005608, allocations: 384 / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.005743, allocations: 93.59 kB / 443.7 MB, free: 36 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.005753, allocations: 192 / 443.7 MB, free: 36 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.005763, allocations: 7.938 kB / 443.7 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.005767, allocations: 0 / 443.7 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.536e-05/0.005823, allocations: 27.98 kB / 443.7 MB, free: 0 / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1763/0.1821, allocations: 245.7 kB / 444 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.1823, allocations: 46.14 kB / 444 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.1823, allocations: 18 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.1823, allocations: 2.906 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.1823, allocations: 38.62 kB / 444.1 MB, free: 46.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.1823, allocations: 0 / 444.1 MB, free: 46.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003772/0.1827, allocations: 150.3 kB / 444.2 MB, free: 46.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.1827, allocations: 77.86 kB / 444.3 MB, free: 46.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.1828, allocations: 147.5 kB / 444.4 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.1828, allocations: 29.89 kB / 444.5 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.1829, allocations: 94.78 kB / 444.6 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.1829, allocations: 17.31 kB / 444.6 MB, free: 45.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.1829, allocations: 19.25 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.524e-05/0.1829, allocations: 319.8 kB / 444.9 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.183, allocations: 25.84 kB / 444.9 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.279e-05/0.183, allocations: 59.12 kB / 445 MB, free: 45.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.82e-05/0.1831, allocations: 55.05 kB / 445 MB, free: 45.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1831, allocations: 0 / 445 MB, free: 45.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.204e-05/0.1832, allocations: 96.61 kB / 445.1 MB, free: 45.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1832, allocations: 3.656 kB / 445.1 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1832, allocations: 3.375 kB / 445.1 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1832, allocations: 0 / 445.1 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.506e-05/0.1832, allocations: 13.48 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1832, allocations: 2.625 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.502e-05/0.1833, allocations: 8.828 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.1833, allocations: 6.812 kB / 445.2 MB, free: 45.55 MB / 410.7 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 4.289e-05/0.1833, allocations: 117 kB / 445.3 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.1833, allocations: 10.77 kB / 445.3 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.1835, allocations: 100.7 kB / 445.4 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1835, allocations: 0 / 445.4 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1835, allocations: 2.875 kB / 445.4 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1835, allocations: 2.781 kB / 445.4 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.1837, allocations: 324.6 kB / 445.7 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1837, allocations: 0 / 445.7 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/0.1837, allocations: 13.52 kB / 445.7 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1837, allocations: 0 / 445.7 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.1837, allocations: 2.406 kB / 445.7 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1837, allocations: 3.125 kB / 445.7 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1837, allocations: 0 / 445.7 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.489e-05/0.1838, allocations: 193 kB / 445.9 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.1838, allocations: 10.58 kB / 445.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1838, allocations: 0 / 445.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.854e-05/0.1839, allocations: 8.953 kB / 445.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.1839, allocations: 0 / 445.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1839, allocations: 3 kB / 445.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.943e-05/0.1839, allocations: 115.8 kB / 446.1 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1839, allocations: 2.344 kB / 446.1 MB, free: 44.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.1841, allocations: 39.11 kB / 446.1 MB, free: 44.91 MB / 410.7 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.0008715/0.185, allocations: 1.152 MB / 447.3 MB, free: 44.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.1851, allocations: 53.56 kB / 447.3 MB, free: 44.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1851, allocations: 0 / 447.3 MB, free: 44.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.584e-05/0.1852, allocations: 26.97 kB / 447.3 MB, free: 44.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.1854, allocations: 21.2 kB / 447.3 MB, free: 44.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008669/0.1863, allocations: 1.46 MB / 448.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.072e-05/0.1863, allocations: 86.97 kB / 448.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.358e-05/0.1864, allocations: 19.45 kB / 448.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.1864, allocations: 28.39 kB / 448.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1864, allocations: 0 / 448.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.2014, allocations: 4.017 MB / 453 MB, free: 41.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.806/7.007, allocations: 11.88 kB / 453 MB, free: 41.4 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.158846639096737]