Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.0009124/0.0009124, allocations: 83.69 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.0008872/0.0008872, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9294/0.9294, 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.2773/0.2773, allocations: 32.78 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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.786e-06/2.786e-06, allocations: 4 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.938e-05, allocations: 8.328 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002758/0.002787, allocations: 1.665 MB / 441.3 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008572/0.003644, allocations: 0.5646 MB / 441.8 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.289e-05/0.003737, allocations: 4 kB / 441.9 MB, free: 1.973 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.004056, allocations: 71.7 kB / 441.9 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.004438, allocations: 103.5 kB / 442 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.004933, allocations: 179.9 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.005137, allocations: 95.69 kB / 442.3 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.005268, allocations: 12.22 kB / 442.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.278e-05/0.005351, allocations: 51.89 kB / 442.4 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.005457, allocations: 55.86 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.005473, allocations: 7.938 kB / 442.4 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.005582, allocations: 47.92 kB / 442.5 MB, free: 1.359 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.631e-05/0.005669, allocations: 35.84 kB / 442.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.005706, allocations: 15.94 kB / 442.5 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.005924, allocations: 127.5 kB / 442.6 MB, free: 1.184 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005926, allocations: 4 kB / 442.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.005929, allocations: 0 / 442.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.005935, allocations: 0 / 442.6 MB, free: 1.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005293/0.006464, allocations: 365.5 kB / 443 MB, free: 0.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.006514, allocations: 12.03 kB / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.006548, allocations: 30.75 kB / 443 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.00659, allocations: 12.84 kB / 443.1 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.006753, allocations: 149.6 kB / 443.2 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.006764, allocations: 8.297 kB / 443.2 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.006783, allocations: 4.375 kB / 443.2 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.006944, allocations: 70.22 kB / 443.3 MB, free: 484 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.006956, allocations: 192 / 443.3 MB, free: 484 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.006966, allocations: 3.938 kB / 443.3 MB, free: 480 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.006972, allocations: 8 kB / 443.3 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.845e-05/0.007061, allocations: 43.95 kB / 443.3 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.00743, allocations: 299.7 kB / 443.6 MB, free: 84 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.007658, allocations: 54.55 kB / 443.7 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1922/0.1999, allocations: 24.97 kB / 443.7 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.1999, allocations: 0 / 443.7 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.2, allocations: 38.22 kB / 443.7 MB, free: 46.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.2, allocations: 0 / 443.7 MB, free: 46.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001002/0.201, allocations: 431.9 kB / 444.2 MB, free: 46.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.201, allocations: 52.03 kB / 444.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.2011, allocations: 227.7 kB / 444.4 MB, free: 46.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.2012, allocations: 27.02 kB / 444.5 MB, free: 46.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.2012, allocations: 111.4 kB / 444.6 MB, free: 46.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.2012, allocations: 39.8 kB / 444.6 MB, free: 46.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.2013, allocations: 21.44 kB / 444.6 MB, free: 46.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.776e-05/0.2013, allocations: 334.2 kB / 445 MB, free: 45.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.2014, allocations: 53.23 kB / 445 MB, free: 45.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.2015, allocations: 58 kB / 445.1 MB, free: 45.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.2016, allocations: 130.6 kB / 445.2 MB, free: 45.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2016, allocations: 0 / 445.2 MB, free: 45.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001965/0.2018, allocations: 171.5 kB / 445.4 MB, free: 45.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2018, allocations: 4.344 kB / 445.4 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2019, allocations: 2.781 kB / 445.4 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.2019, allocations: 0 / 445.4 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/0.202, allocations: 28.91 kB / 445.4 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.202, allocations: 6.797 kB / 445.4 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.202, allocations: 12.62 kB / 445.4 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.202, allocations: 6.625 kB / 445.4 MB, free: 45.77 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 (11): * Single equations (assignments): 11 * 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.249e-05/0.2021, allocations: 134.5 kB / 445.6 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.2021, allocations: 15.94 kB / 445.6 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.2024, allocations: 193.3 kB / 445.8 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2024, allocations: 0 / 445.8 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2024, allocations: 3.688 kB / 445.8 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2024, allocations: 2.844 kB / 445.8 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.2028, allocations: 474.5 kB / 446.2 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2028, allocations: 3.062 kB / 446.2 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.2029, allocations: 27.73 kB / 446.3 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.2029, allocations: 2.797 kB / 446.3 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.2029, allocations: 14.03 kB / 446.3 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2029, allocations: 4.406 kB / 446.3 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2029, allocations: 2.875 kB / 446.3 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.2031, allocations: 273.9 kB / 446.6 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.2031, allocations: 20.41 kB / 446.6 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.2031, allocations: 3.938 kB / 446.6 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.123e-05/0.2031, allocations: 15.98 kB / 446.6 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.2032, allocations: 10.14 kB / 446.6 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.2032, allocations: 2.969 kB / 446.6 MB, free: 45.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.665e-05/0.2033, allocations: 169.6 kB / 446.8 MB, free: 44.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2033, allocations: 0 / 446.8 MB, free: 44.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.2034, allocations: 30.47 kB / 446.8 MB, free: 44.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001039/0.2045, allocations: 1.195 MB / 448 MB, free: 44.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.2047, allocations: 127 kB / 448.1 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2047, allocations: 0 / 448.1 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.2048, allocations: 67.06 kB / 448.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.2051, allocations: 16.97 kB / 448.2 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.2064, allocations: 1.993 MB / 450.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.395e-05/0.2065, allocations: 110.8 kB / 450.3 MB, free: 42.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.488e-05/0.2066, allocations: 41.2 kB / 450.3 MB, free: 42.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.2066, allocations: 39.77 kB / 450.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.2066, allocations: 0 / 450.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.2241, allocations: 4.342 MB / 454.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.522/6.746, allocations: 3.375 kB / 454.7 MB, free: 41.16 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.818829338997602]