Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008882/0.0008882, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009729/0.0009729, 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.8897/0.8897, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.2298/0.2298, allocations: 32.79 MB / 293.5 MB, free: 1.238 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.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.489e-05, allocations: 4.672 kB / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.001978/0.001993, allocations: 1.611 MB / 441.2 MB, free: 2.605 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006881/0.002681, allocations: 0.5336 MB / 441.8 MB, free: 2.066 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.00274, allocations: 3.938 kB / 441.8 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.003011, allocations: 119.6 kB / 441.9 MB, free: 1.945 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.003257, allocations: 127.5 kB / 442 MB, free: 1.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.003439, allocations: 91.69 kB / 442.1 MB, free: 1.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.003583, allocations: 103.7 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.003692, allocations: 15.94 kB / 442.2 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.852e-05/0.00376, allocations: 55.86 kB / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.003862, allocations: 83.83 kB / 442.3 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.003878, allocations: 4 kB / 442.3 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.832e-05/0.003946, allocations: 39.92 kB / 442.4 MB, free: 1.434 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.003998, allocations: 39.78 kB / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.004024, allocations: 15.94 kB / 442.4 MB, free: 1.379 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.004181, allocations: 123.5 kB / 442.6 MB, free: 1.258 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004183, allocations: 0 / 442.6 MB, free: 1.258 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004183, allocations: 0 / 442.6 MB, free: 1.258 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.004188, allocations: 0 / 442.6 MB, free: 1.258 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000379/0.004567, allocations: 365.4 kB / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.004608, allocations: 12.02 kB / 442.9 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.004644, allocations: 30.75 kB / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.004676, allocations: 16.84 kB / 443 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.004822, allocations: 161 kB / 443.1 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.004829, allocations: 384 / 443.1 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.004849, allocations: 12.36 kB / 443.1 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.00496, allocations: 54.19 kB / 443.2 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.004969, allocations: 192 / 443.2 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.004978, allocations: 7.938 kB / 443.2 MB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.004982, allocations: 0 / 443.2 MB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.387e-05/0.005046, allocations: 31.95 kB / 443.2 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.00533, allocations: 259.9 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.135e-05/0.005401, allocations: 46.5 kB / 443.5 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.005429, allocations: 12.94 kB / 443.5 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.005447, allocations: 12 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.005464, allocations: 30.56 kB / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.005465, allocations: 0 / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.1928/0.1983, allocations: 232.4 kB / 443.8 MB, free: 46.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.1983, allocations: 56.84 kB / 443.9 MB, free: 46.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.1986, allocations: 272.9 kB / 444.1 MB, free: 46.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.1986, allocations: 26.58 kB / 444.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.1986, allocations: 113.1 kB / 444.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.1987, allocations: 32.77 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.1987, allocations: 22.39 kB / 444.3 MB, free: 46.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.1987, allocations: 332.7 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.985e-05/0.1988, allocations: 27.06 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.1988, allocations: 27.39 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.213e-05/0.1989, allocations: 64.83 kB / 444.8 MB, free: 45.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1989, allocations: 0 / 444.8 MB, free: 45.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001273/0.199, allocations: 105.5 kB / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1991, allocations: 8.734 kB / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1991, allocations: 3.375 kB / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1991, allocations: 0.7812 kB / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.586e-05/0.1992, allocations: 17.92 kB / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1992, allocations: 0.5625 kB / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.1992, allocations: 8.031 kB / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1992, allocations: 1.312 kB / 444.9 MB, free: 45.83 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 (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 7.024e-05/0.1993, allocations: 142.6 kB / 445.1 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.1993, allocations: 17.69 kB / 445.1 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.1995, allocations: 127.3 kB / 445.2 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1995, allocations: 3.141 kB / 445.2 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1995, allocations: 1.781 kB / 445.2 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1995, allocations: 0 / 445.2 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.1998, allocations: 375.5 kB / 445.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1998, allocations: 3.094 kB / 445.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.1999, allocations: 18.91 kB / 445.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.1999, allocations: 2.75 kB / 445.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1999, allocations: 3.625 kB / 445.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1999, allocations: 2.844 kB / 445.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1999, allocations: 3.094 kB / 445.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.2, allocations: 209 kB / 445.8 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.2, allocations: 22.94 kB / 445.8 MB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.2, allocations: 0 / 445.8 MB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.754e-05/0.2001, allocations: 6.953 kB / 445.8 MB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.2001, allocations: 11.5 kB / 445.8 MB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.2001, allocations: 7.031 kB / 445.8 MB, free: 45.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.76e-05/0.2002, allocations: 210.7 kB / 446.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2002, allocations: 0 / 446.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.2004, allocations: 20.95 kB / 446.1 MB, free: 45.12 MB / 410.7 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.001025/0.2014, allocations: 1.124 MB / 447.2 MB, free: 44.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.2016, allocations: 61.83 kB / 447.3 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2016, allocations: 2.844 kB / 447.3 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.278e-05/0.2016, allocations: 32.98 kB / 447.3 MB, free: 44.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.2019, allocations: 23.52 kB / 447.3 MB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.2031, allocations: 1.816 MB / 449.1 MB, free: 42.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.867e-05/0.2031, allocations: 116.6 kB / 449.2 MB, free: 42.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.407e-05/0.2032, allocations: 11.91 kB / 449.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.2032, allocations: 37.34 kB / 449.3 MB, free: 42.87 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2032, allocations: 2.844 kB / 449.3 MB, free: 42.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.2178, allocations: 4.105 MB / 453.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.156/7.374, allocations: 14.02 kB / 453.4 MB, free: 41.48 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.410375695675611]