Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.000828/0.000828, 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.0007991/0.0007991, 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.9098/0.9098, 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.2583/0.2583, 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.593e-05, allocations: 8.812 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001877/0.001893, allocations: 1.603 MB / 441.2 MB, free: 2.629 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006713/0.002564, allocations: 0.5336 MB / 441.7 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.002613, allocations: 0 / 441.7 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.00285, allocations: 95.67 kB / 441.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.003075, allocations: 111.5 kB / 442 MB, free: 1.887 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.003259, allocations: 95.62 kB / 442 MB, free: 1.793 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.00339, allocations: 83.81 kB / 442.1 MB, free: 1.711 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.393e-05/0.003484, allocations: 19.97 kB / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.685e-05/0.003541, allocations: 43.89 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.969e-05/0.00362, allocations: 55.86 kB / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.003633, allocations: 4 kB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.352e-05/0.003706, allocations: 59.78 kB / 442.3 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.003747, allocations: 19.88 kB / 442.3 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.003772, allocations: 15.92 kB / 442.3 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.003972, allocations: 107.6 kB / 442.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-06/0.003974, allocations: 0 / 442.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003975, allocations: 0 / 442.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.003979, allocations: 3.938 kB / 442.4 MB, free: 1.387 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.0003451/0.004324, allocations: 345.6 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.004357, allocations: 8.031 kB / 442.8 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.596e-05/0.004382, allocations: 34.73 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.004413, allocations: 20.84 kB / 442.8 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.004542, allocations: 141.5 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.004549, allocations: 384 / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.004567, allocations: 8.328 kB / 443 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.004671, allocations: 54.23 kB / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.004681, allocations: 192 / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.00469, allocations: 3.938 kB / 443.1 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.004695, allocations: 8 kB / 443.1 MB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.924e-05/0.004754, allocations: 23.97 kB / 443.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.005027, allocations: 267.8 kB / 443.3 MB, free: 388 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.46e-05/0.005102, allocations: 42.56 kB / 443.4 MB, free: 336 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.005137, allocations: 16.94 kB / 443.4 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.005155, allocations: 0 / 443.4 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.005174, allocations: 38.56 kB / 443.4 MB, free: 268 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.005175, allocations: 0 / 443.4 MB, free: 268 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005297/0.005705, allocations: 221.2 kB / 443.7 MB, free: 40 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1902/0.1959, allocations: 51.41 kB / 443.7 MB, free: 46.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.1961, allocations: 239 kB / 443.9 MB, free: 46.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1961, allocations: 27.2 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.1962, allocations: 111.4 kB / 444.1 MB, free: 46.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.1962, allocations: 28.23 kB / 444.1 MB, free: 46.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.1962, allocations: 20.12 kB / 444.1 MB, free: 46.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.1963, allocations: 331.5 kB / 444.4 MB, free: 45.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/0.1963, allocations: 19.58 kB / 444.5 MB, free: 45.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.993e-05/0.1964, allocations: 33.66 kB / 444.5 MB, free: 45.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.39e-05/0.1965, allocations: 65.72 kB / 444.6 MB, free: 45.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1965, allocations: 3.062 kB / 444.6 MB, free: 45.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001263/0.1966, allocations: 107.3 kB / 444.7 MB, free: 45.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1966, allocations: 5.812 kB / 444.7 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1966, allocations: 0.7188 kB / 444.7 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1966, allocations: 0 / 444.7 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.1967, allocations: 25.84 kB / 444.7 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1967, allocations: 1.5 kB / 444.7 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.1967, allocations: 6.266 kB / 444.7 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.1968, allocations: 2.969 kB / 444.7 MB, free: 45.85 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 5.34e-05/0.1968, allocations: 131 kB / 444.8 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.1968, allocations: 13.59 kB / 444.9 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.197, allocations: 121.7 kB / 445 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.197, allocations: 7.266 kB / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.197, allocations: 0 / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.197, allocations: 0 / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.1973, allocations: 373.8 kB / 445.3 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1973, allocations: 0 / 445.3 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.1973, allocations: 25.39 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1973, allocations: 0 / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.1973, allocations: 2.844 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1973, allocations: 0 / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1973, allocations: 5.438 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.1974, allocations: 214.5 kB / 445.6 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.1974, allocations: 10.81 kB / 445.6 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.1975, allocations: 5.781 kB / 445.6 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.518e-05/0.1975, allocations: 7.5 kB / 445.6 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.1975, allocations: 9.828 kB / 445.6 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1975, allocations: 3.125 kB / 445.6 MB, free: 45.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.827e-05/0.1976, allocations: 175.9 kB / 445.8 MB, free: 45.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1976, allocations: 0 / 445.8 MB, free: 45.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.1977, allocations: 25.7 kB / 445.8 MB, free: 45.2 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.0008357/0.1986, allocations: 1.122 MB / 446.9 MB, free: 44.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.1987, allocations: 58.66 kB / 447 MB, free: 44.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.1987, allocations: 3.922 kB / 447 MB, free: 44.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.906e-05/0.1987, allocations: 38 kB / 447 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.199, allocations: 19.38 kB / 447.1 MB, free: 44.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009227/0.1999, allocations: 1.718 MB / 448.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.111e-05/0.2, allocations: 103.4 kB / 448.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.12e-05/0.2, allocations: 12.19 kB / 448.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.2001, allocations: 33.53 kB / 448.9 MB, free: 43 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2001, allocations: 0 / 448.9 MB, free: 43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.2139, allocations: 3.906 MB / 452.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.662/6.876, allocations: 11.2 kB / 452.8 MB, free: 41.64 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.902414985001087]