Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.0008321/0.0008321, 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.0008458/0.0008458, 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.9305/0.9305, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2828/0.2828, allocations: 32.79 MB / 293.5 MB, free: 1.215 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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.035e-05, allocations: 2.281 kB / 439.6 MB, free: 4.215 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002364/0.002385, allocations: 1.669 MB / 441.3 MB, free: 2.535 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007332/0.003118, allocations: 0.5413 MB / 441.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.154e-05/0.003179, allocations: 0 / 441.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004622/0.003642, allocations: 451 kB / 442.3 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.004013, allocations: 303.1 kB / 442.6 MB, free: 1.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.00425, allocations: 128 kB / 442.7 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.004599, allocations: 183.5 kB / 442.9 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.831e-05/0.004687, allocations: 8 kB / 442.9 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.544e-05/0.004782, allocations: 127.8 kB / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.00495, allocations: 239.5 kB / 443.2 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.004965, allocations: 4 kB / 443.2 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.005042, allocations: 55.84 kB / 443.3 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.358e-05/0.005125, allocations: 87.7 kB / 443.4 MB, free: 448 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.00516, allocations: 43.73 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.005416, allocations: 259 kB / 443.7 MB, free: 144 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.005418, allocations: 0 / 443.7 MB, free: 144 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.005419, allocations: 0 / 443.7 MB, free: 144 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.005424, allocations: 0 / 443.7 MB, free: 144 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.1937/0.1991, allocations: 0.5834 MB / 444.3 MB, free: 46.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1991, allocations: 11.59 kB / 444.3 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.725e-05/0.1991, allocations: 33.69 kB / 444.3 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.1992, allocations: 52.41 kB / 444.3 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.1994, allocations: 242.4 kB / 444.6 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1994, allocations: 5.156 kB / 444.6 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.1994, allocations: 5.031 kB / 444.6 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.1996, allocations: 62.38 kB / 444.7 MB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1996, allocations: 4.031 kB / 444.7 MB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1996, allocations: 4.062 kB / 444.7 MB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1996, allocations: 3.938 kB / 444.7 MB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.003e-05/0.1996, allocations: 27.25 kB / 444.7 MB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.2, allocations: 366.8 kB / 445.1 MB, free: 46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.034e-05/0.2001, allocations: 46.69 kB / 445.1 MB, free: 45.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.2001, allocations: 20.52 kB / 445.1 MB, free: 45.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.2001, allocations: 5.75 kB / 445.1 MB, free: 45.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.2001, allocations: 30.56 kB / 445.2 MB, free: 45.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2001, allocations: 0 / 445.2 MB, free: 45.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006328/0.2008, allocations: 316.1 kB / 445.5 MB, free: 45.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.2008, allocations: 54.28 kB / 445.5 MB, free: 45.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/0.2013, allocations: 0.8698 MB / 446.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.2013, allocations: 32.44 kB / 446.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.602e-05/0.2014, allocations: 230.6 kB / 446.6 MB, free: 45.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.2014, allocations: 29.61 kB / 446.7 MB, free: 45.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.2014, allocations: 23.78 kB / 446.7 MB, free: 45.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.2015, allocations: 367.8 kB / 447.1 MB, free: 44.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.557e-05/0.2015, allocations: 25.59 kB / 447.1 MB, free: 44.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.2016, allocations: 29.81 kB / 447.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.101e-05/0.2016, allocations: 66.05 kB / 447.2 MB, free: 44.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2016, allocations: 0 / 447.2 MB, free: 44.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001225/0.2018, allocations: 133.6 kB / 447.3 MB, free: 44.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2018, allocations: 7.375 kB / 447.3 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2018, allocations: 0 / 447.3 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2018, allocations: 3.328 kB / 447.3 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.2019, allocations: 27.09 kB / 447.3 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2019, allocations: 0 / 447.3 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.2019, allocations: 9.094 kB / 447.3 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.2019, allocations: 0 / 447.3 MB, free: 44.79 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 0.0001045/0.202, allocations: 219.5 kB / 447.6 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.202, allocations: 47.92 kB / 447.6 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.2022, allocations: 153.6 kB / 447.8 MB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2022, allocations: 5.609 kB / 447.8 MB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2022, allocations: 0 / 447.8 MB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2022, allocations: 2.344 kB / 447.8 MB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.2026, allocations: 472.1 kB / 448.2 MB, free: 44.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2026, allocations: 7.797 kB / 448.2 MB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.2026, allocations: 16.84 kB / 448.3 MB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2026, allocations: 2.906 kB / 448.3 MB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.2026, allocations: 7.422 kB / 448.3 MB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2026, allocations: 6.75 kB / 448.3 MB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2026, allocations: 3.297 kB / 448.3 MB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.2027, allocations: 242.8 kB / 448.5 MB, free: 44.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.2028, allocations: 42.11 kB / 448.5 MB, free: 44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.2028, allocations: 1.438 kB / 448.6 MB, free: 44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.722e-05/0.2028, allocations: 13.53 kB / 448.6 MB, free: 43.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.2028, allocations: 6.234 kB / 448.6 MB, free: 43.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2029, allocations: 2.781 kB / 448.6 MB, free: 43.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000322/0.2032, allocations: 0.6588 MB / 449.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2032, allocations: 0 / 449.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001736/0.2033, allocations: 33.62 kB / 449.3 MB, free: 43.73 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.0009655/0.2043, allocations: 1.161 MB / 450.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.2045, allocations: 65.55 kB / 450.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2045, allocations: 2.938 kB / 450.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.2045, allocations: 38.28 kB / 450.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.2048, allocations: 30.09 kB / 450.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.207, allocations: 3.332 MB / 453.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.2072, allocations: 228.2 kB / 454.1 MB, free: 41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.956e-05/0.2072, allocations: 17.41 kB / 454.1 MB, free: 41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.2073, allocations: 112 kB / 454.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2073, allocations: 0 / 454.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.2247, allocations: 7.06 MB / 461.3 MB, free: 39.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.648/6.873, allocations: 7.25 kB / 461.3 MB, free: 39.2 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.950005799531937]