Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.0008215/0.0008215, allocations: 79.7 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.001098/0.001098, 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.9036/0.9036, allocations: 177.1 MB / 204.2 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.259/0.259, allocations: 32.79 MB / 293.5 MB, free: 1.227 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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.319e-05, allocations: 8.812 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002434/0.002457, allocations: 1.615 MB / 441.2 MB, free: 2.605 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008425/0.0033, allocations: 0.5219 MB / 441.7 MB, free: 2.078 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.003364, allocations: 4 kB / 441.7 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.003654, allocations: 107.6 kB / 441.9 MB, free: 1.969 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.003922, allocations: 123.5 kB / 442 MB, free: 1.848 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.004117, allocations: 92.81 kB / 442.1 MB, free: 1.758 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.004273, allocations: 87.75 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.00438, allocations: 15.98 kB / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.004523, allocations: 47.88 kB / 442.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.004636, allocations: 67.86 kB / 442.3 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.004652, allocations: 4 kB / 442.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.922e-05/0.004731, allocations: 43.92 kB / 442.3 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.004786, allocations: 35.8 kB / 442.4 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.004816, allocations: 23.84 kB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.004995, allocations: 119.6 kB / 442.5 MB, free: 1.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004998, allocations: 0 / 442.5 MB, free: 1.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004999, allocations: 0 / 442.5 MB, free: 1.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.005005, allocations: 0 / 442.5 MB, free: 1.32 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.0004488/0.005454, allocations: 349.5 kB / 442.8 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.005506, allocations: 8.031 kB / 442.8 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.005543, allocations: 34.73 kB / 442.9 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.005573, allocations: 12.89 kB / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.005744, allocations: 150.3 kB / 443 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.005759, allocations: 16.31 kB / 443.1 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.005781, allocations: 384 / 443.1 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.005912, allocations: 54.23 kB / 443.1 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.005927, allocations: 4.141 kB / 443.1 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.00594, allocations: 7.938 kB / 443.1 MB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.005946, allocations: 0 / 443.1 MB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.196e-05/0.006018, allocations: 27.97 kB / 443.2 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.006364, allocations: 255.9 kB / 443.4 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.502e-05/0.006449, allocations: 46.5 kB / 443.4 MB, free: 256 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.006483, allocations: 20.94 kB / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.006504, allocations: 0 / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.006525, allocations: 34.56 kB / 443.5 MB, free: 188 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.006525, allocations: 0 / 443.5 MB, free: 188 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.1957/0.2022, allocations: 240.7 kB / 443.7 MB, free: 46.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.2022, allocations: 51.41 kB / 443.8 MB, free: 46.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.2024, allocations: 250.9 kB / 444 MB, free: 46.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.455e-06/0.2024, allocations: 26.27 kB / 444.1 MB, free: 46.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.2025, allocations: 117.3 kB / 444.2 MB, free: 46.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.2025, allocations: 22.97 kB / 444.2 MB, free: 46.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.2025, allocations: 28.19 kB / 444.2 MB, free: 46.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.013e-05/0.2026, allocations: 324 kB / 444.5 MB, free: 45.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.511e-05/0.2026, allocations: 24.72 kB / 444.6 MB, free: 45.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/0.2027, allocations: 30.06 kB / 444.6 MB, free: 45.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.704e-05/0.2028, allocations: 61.84 kB / 444.7 MB, free: 45.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2028, allocations: 5.031 kB / 444.7 MB, free: 45.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001277/0.2029, allocations: 105.8 kB / 444.8 MB, free: 45.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2029, allocations: 5.781 kB / 444.8 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2029, allocations: 7.516 kB / 444.8 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.2029, allocations: 0 / 444.8 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.203, allocations: 18.28 kB / 444.8 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.203, allocations: 1.562 kB / 444.8 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.2031, allocations: 11 kB / 444.8 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.2031, allocations: 0 / 444.8 MB, free: 45.76 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.178e-05/0.2031, allocations: 139.4 kB / 444.9 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.2031, allocations: 13.84 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.2033, allocations: 122.5 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2033, allocations: 2.969 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.2033, allocations: 0 / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2033, allocations: 0 / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.2037, allocations: 375.5 kB / 445.4 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2037, allocations: 3.875 kB / 445.4 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.2037, allocations: 18.55 kB / 445.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2037, allocations: 0 / 445.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2037, allocations: 0 / 445.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2037, allocations: 10.08 kB / 445.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2037, allocations: 0 / 445.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.2038, allocations: 205.7 kB / 445.7 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.2038, allocations: 18.22 kB / 445.7 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.2039, allocations: 0 / 445.7 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.605e-05/0.2039, allocations: 12.61 kB / 445.7 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.2039, allocations: 7.781 kB / 445.7 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.2039, allocations: 6.188 kB / 445.7 MB, free: 45.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.672e-05/0.204, allocations: 185.8 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.204, allocations: 0 / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.2042, allocations: 21.05 kB / 445.9 MB, free: 45.11 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.0009913/0.2052, allocations: 1.129 MB / 447 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.2053, allocations: 62.25 kB / 447.1 MB, free: 44.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2053, allocations: 0 / 447.1 MB, free: 44.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.362e-05/0.2054, allocations: 39.14 kB / 447.1 MB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.2057, allocations: 17.89 kB / 447.2 MB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.2068, allocations: 1.769 MB / 448.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.172e-05/0.2069, allocations: 104.8 kB / 449 MB, free: 42.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.374e-05/0.2069, allocations: 16.22 kB / 449.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.207, allocations: 37.03 kB / 449.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.011e-06/0.207, allocations: 0 / 449.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.2244, allocations: 3.973 MB / 453.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.656/6.881, allocations: 19.75 kB / 453.1 MB, free: 41.51 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.882295027375221]