Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.0008125/0.0008125, allocations: 79.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.0009516/0.0009516, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8695/0.8695, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2314/0.2314, allocations: 32.79 MB / 293.5 MB, free: 1.242 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.556e-05, allocations: 7.547 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002322/0.002348, allocations: 1.615 MB / 441.2 MB, free: 2.609 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000829/0.003177, allocations: 0.5336 MB / 441.8 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.003238, allocations: 0 / 441.8 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.003509, allocations: 95.67 kB / 441.8 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.003785, allocations: 119.5 kB / 442 MB, free: 1.859 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.004036, allocations: 118.7 kB / 442.1 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.004179, allocations: 83.8 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.004288, allocations: 12 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.429e-05/0.004353, allocations: 51.88 kB / 442.2 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.718e-05/0.00444, allocations: 47.88 kB / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.004455, allocations: 4 kB / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.492e-05/0.00455, allocations: 51.84 kB / 442.3 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.004604, allocations: 27.88 kB / 442.4 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.004636, allocations: 15.92 kB / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.00483, allocations: 115.6 kB / 442.5 MB, free: 1.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004833, allocations: 0 / 442.5 MB, free: 1.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.004834, allocations: 0 / 442.5 MB, free: 1.344 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.004841, allocations: 3.938 kB / 442.5 MB, free: 1.34 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.0004857/0.005327, allocations: 345.6 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.005386, allocations: 8.031 kB / 442.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.005426, allocations: 34.73 kB / 442.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.005464, allocations: 16.84 kB / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.005649, allocations: 137.6 kB / 443 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.00566, allocations: 384 / 443 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.005689, allocations: 12.33 kB / 443 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.005837, allocations: 58.16 kB / 443.1 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.005852, allocations: 192 / 443.1 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.005866, allocations: 11.94 kB / 443.1 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.005873, allocations: 0 / 443.1 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.487e-05/0.005948, allocations: 27.97 kB / 443.1 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.006309, allocations: 259.9 kB / 443.4 MB, free: 344 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.671e-05/0.006395, allocations: 58.47 kB / 443.4 MB, free: 276 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.006426, allocations: 12.86 kB / 443.4 MB, free: 260 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.00645, allocations: 4.078 kB / 443.4 MB, free: 256 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.006472, allocations: 38.56 kB / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.006473, allocations: 0 / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.1703/0.1768, allocations: 237.3 kB / 443.7 MB, free: 46.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.1768, allocations: 51.41 kB / 443.8 MB, free: 46.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.177, allocations: 237.8 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.177, allocations: 26.39 kB / 444 MB, free: 46.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.177, allocations: 112 kB / 444.1 MB, free: 46.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.177, allocations: 29.34 kB / 444.2 MB, free: 46.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.1771, allocations: 20.03 kB / 444.2 MB, free: 46.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.034e-05/0.1771, allocations: 331.3 kB / 444.5 MB, free: 45.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.011e-05/0.1772, allocations: 29.33 kB / 444.5 MB, free: 45.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.923e-05/0.1772, allocations: 32.75 kB / 444.6 MB, free: 45.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.385e-05/0.1773, allocations: 82.84 kB / 444.6 MB, free: 45.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1773, allocations: 2.953 kB / 444.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001321/0.1774, allocations: 114.2 kB / 444.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1774, allocations: 9.047 kB / 444.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1774, allocations: 3.562 kB / 444.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1775, allocations: 0 / 444.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.904e-05/0.1775, allocations: 17.97 kB / 444.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1775, allocations: 1.5 kB / 444.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.1776, allocations: 3.5 kB / 444.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1776, allocations: 8.406 kB / 444.8 MB, free: 45.81 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 6.145e-05/0.1776, allocations: 133.5 kB / 444.9 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.1777, allocations: 17.75 kB / 445 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.1778, allocations: 127.9 kB / 445.1 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1778, allocations: 2.781 kB / 445.1 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1778, allocations: 0.8438 kB / 445.1 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1779, allocations: 3.281 kB / 445.1 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.1782, allocations: 394.7 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1782, allocations: 0 / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.1782, allocations: 17.86 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1782, allocations: 2.5 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.1782, allocations: 0 / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1782, allocations: 6.188 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1782, allocations: 0 / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.1783, allocations: 224.7 kB / 445.7 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.1783, allocations: 11.08 kB / 445.7 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1783, allocations: 6.344 kB / 445.7 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.584e-05/0.1784, allocations: 4.406 kB / 445.7 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.1784, allocations: 6.891 kB / 445.7 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-06/0.1784, allocations: 6.281 kB / 445.8 MB, free: 45.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.898e-05/0.1785, allocations: 173 kB / 445.9 MB, free: 45.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1785, allocations: 0 / 445.9 MB, free: 45.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.1786, allocations: 20.14 kB / 445.9 MB, free: 45.15 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.0008932/0.1795, allocations: 1.139 MB / 447.1 MB, free: 44.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.1797, allocations: 71.59 kB / 447.1 MB, free: 44.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1797, allocations: 0.875 kB / 447.1 MB, free: 44.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.777e-05/0.1797, allocations: 40.17 kB / 447.2 MB, free: 44.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.18, allocations: 19.48 kB / 447.2 MB, free: 44.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009352/0.1809, allocations: 1.777 MB / 449 MB, free: 43.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.227e-05/0.181, allocations: 104.5 kB / 449.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.529e-05/0.181, allocations: 24.42 kB / 449.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.181, allocations: 37.2 kB / 449.1 MB, free: 42.92 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.181, allocations: 0 / 449.1 MB, free: 42.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.1954, allocations: 3.944 MB / 453.1 MB, free: 41.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/6.79, allocations: 10.58 kB / 453.1 MB, free: 41.56 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.709691528230906]