Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.0008873/0.0008873, 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.0008951/0.0008951, 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.917/0.917, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2353/0.2353, allocations: 32.8 MB / 293.5 MB, free: 1.219 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.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.24e-05, allocations: 2.281 kB / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002387/0.002409, allocations: 1.656 MB / 441.3 MB, free: 2.562 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.003705, allocations: 1.274 MB / 442.5 MB, free: 1.281 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.479e-05/0.00377, allocations: 3.938 kB / 442.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.003983, allocations: 31.78 kB / 442.6 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.004328, allocations: 83.56 kB / 442.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.004702, allocations: 184.4 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.004873, allocations: 79.77 kB / 442.9 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.004981, allocations: 15.98 kB / 442.9 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.252e-05/0.005043, allocations: 35.84 kB / 443 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.005152, allocations: 35.89 kB / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.005167, allocations: 4 kB / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.005314, allocations: 95.75 kB / 443.1 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.005368, allocations: 27.92 kB / 443.1 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.005396, allocations: 15.98 kB / 443.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.0056, allocations: 159.5 kB / 443.3 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005603, allocations: 3.938 kB / 443.3 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005604, allocations: 3.938 kB / 443.3 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.005608, allocations: 0 / 443.3 MB, free: 0.5195 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.0004484/0.006056, allocations: 353.5 kB / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.006098, allocations: 8.031 kB / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.039e-05/0.006128, allocations: 30.75 kB / 443.7 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.006162, allocations: 8.891 kB / 443.7 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1916/0.1977, allocations: 145.3 kB / 443.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1977, allocations: 4.172 kB / 443.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1977, allocations: 3 kB / 443.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.1979, allocations: 104.7 kB / 443.9 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1979, allocations: 1.688 kB / 443.9 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1979, allocations: 3.062 kB / 443.9 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1979, allocations: 2.906 kB / 443.9 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.924e-05/0.198, allocations: 40.11 kB / 444 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.1983, allocations: 275.4 kB / 444.3 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.598e-05/0.1984, allocations: 46.81 kB / 444.3 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.742e-05/0.1985, allocations: 29.72 kB / 444.3 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1985, allocations: 2.938 kB / 444.3 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.1985, allocations: 32.47 kB / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1985, allocations: 0 / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005143/0.199, allocations: 238.2 kB / 444.6 MB, free: 46.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.199, allocations: 80.91 kB / 444.7 MB, free: 46.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.1991, allocations: 158.6 kB / 444.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.1991, allocations: 25.7 kB / 444.9 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3e-05/0.1992, allocations: 99.83 kB / 445 MB, free: 45.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.1992, allocations: 18.66 kB / 445 MB, free: 45.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.1992, allocations: 28.91 kB / 445 MB, free: 45.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.344e-05/0.1992, allocations: 323 kB / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.1993, allocations: 34.39 kB / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/0.1994, allocations: 81.16 kB / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.1995, allocations: 93.31 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1995, allocations: 0 / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001375/0.1996, allocations: 131.1 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1996, allocations: 9.469 kB / 445.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1996, allocations: 0.9844 kB / 445.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1996, allocations: 3.625 kB / 445.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.514e-05/0.1997, allocations: 23.44 kB / 445.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1997, allocations: 3.281 kB / 445.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.1998, allocations: 14.44 kB / 445.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.1998, allocations: 0 / 445.7 MB, free: 45.41 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 (7): * Single equations (assignments): 7 * 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.517e-05/0.1998, allocations: 118.2 kB / 445.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.1998, allocations: 14.48 kB / 445.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.2, allocations: 145 kB / 446 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2, allocations: 3.172 kB / 446 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2, allocations: 0 / 446 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2, allocations: 0 / 446 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.2003, allocations: 383.5 kB / 446.3 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2003, allocations: 0 / 446.3 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.2003, allocations: 26.7 kB / 446.4 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2003, allocations: 0 / 446.4 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.2003, allocations: 0 / 446.4 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2003, allocations: 2.656 kB / 446.4 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2003, allocations: 0.7812 kB / 446.4 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.2005, allocations: 226.5 kB / 446.6 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.2005, allocations: 10.48 kB / 446.6 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.2005, allocations: 0 / 446.6 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.703e-05/0.2005, allocations: 19.42 kB / 446.6 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.2006, allocations: 5.766 kB / 446.6 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.2006, allocations: 2.344 kB / 446.6 MB, free: 44.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.451e-05/0.2006, allocations: 122.4 kB / 446.8 MB, free: 44.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2006, allocations: 0 / 446.8 MB, free: 44.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001915/0.2008, allocations: 48.64 kB / 446.8 MB, free: 44.7 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 (7): * Single equations (assignments): 7 * 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.0009603/0.2018, allocations: 1.192 MB / 448 MB, free: 43.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.2019, allocations: 92.58 kB / 448.1 MB, free: 43.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.2019, allocations: 0 / 448.1 MB, free: 43.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.457e-05/0.202, allocations: 43.88 kB / 448.1 MB, free: 43.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.2022, allocations: 20.11 kB / 448.1 MB, free: 43.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.2032, allocations: 1.656 MB / 449.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.248e-05/0.2033, allocations: 89.58 kB / 449.9 MB, free: 42.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.133e-05/0.2033, allocations: 29.72 kB / 449.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.2034, allocations: 35.06 kB / 450 MB, free: 42.51 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2034, allocations: 0 / 450 MB, free: 42.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.2189, allocations: 4.371 MB / 454.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.905, allocations: 10.56 kB / 454.3 MB, free: 41.02 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.896971583366394]