Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008226/0.0008226, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007762/0.0007762, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8765/0.8765, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2725/0.2725, allocations: 34.24 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.124e-05, allocations: 10.22 kB / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.1957/0.1957, allocations: 1.952 MB / 444.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1971, allocations: 1.207 MB / 445.3 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.1973, allocations: 6.672 kB / 445.3 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.1975, allocations: 42.86 kB / 445.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004004/0.1979, allocations: 223.2 kB / 445.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.1985, allocations: 438.1 kB / 446 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.1987, allocations: 301.7 kB / 446.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.1989, allocations: 40.2 kB / 446.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.1991, allocations: 177.5 kB / 446.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.1993, allocations: 176 kB / 446.7 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.1993, allocations: 11.41 kB / 446.7 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1994, allocations: 67.97 kB / 446.8 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.1995, allocations: 153.5 kB / 446.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.131e-05/0.1996, allocations: 80.58 kB / 447 MB, free: 42.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.1999, allocations: 390.5 kB / 447.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1999, allocations: 7.219 kB / 447.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1999, allocations: 0 / 447.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1999, allocations: 3.188 kB / 447.4 MB, free: 42.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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005937/0.2005, allocations: 0.7339 MB / 448.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2005, allocations: 8.594 kB / 448.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.572e-05/0.2005, allocations: 44.97 kB / 448.2 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.2007, allocations: 79.3 kB / 448.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.2011, allocations: 414.9 kB / 448.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2011, allocations: 3.625 kB / 448.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.2011, allocations: 14.17 kB / 448.7 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.2013, allocations: 134.6 kB / 448.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2013, allocations: 3.031 kB / 448.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.2013, allocations: 11.55 kB / 448.8 MB, free: 41.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2013, allocations: 5.938 kB / 448.8 MB, free: 41.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.2015, allocations: 73.88 kB / 448.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.2021, allocations: 0.626 MB / 449.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.2022, allocations: 103.7 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.2022, allocations: 45.36 kB / 449.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.2023, allocations: 2.969 kB / 449.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.2023, allocations: 38.97 kB / 449.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.2023, allocations: 0 / 449.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008445/0.2031, allocations: 0.5383 MB / 450.3 MB, free: 40.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.2032, allocations: 83.83 kB / 450.4 MB, free: 40.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006377/0.2038, allocations: 0.9207 MB / 451.3 MB, free: 39.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.2038, allocations: 29.7 kB / 451.3 MB, free: 39.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.204, allocations: 269.7 kB / 451.6 MB, free: 39.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.204, allocations: 52.28 kB / 451.6 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.204, allocations: 32.31 kB / 451.6 MB, free: 39.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.222e-05/0.2041, allocations: 374.5 kB / 452 MB, free: 39.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.2042, allocations: 52.7 kB / 452.1 MB, free: 39.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-05/0.2043, allocations: 80.06 kB / 452.1 MB, free: 39.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.2045, allocations: 136.6 kB / 452.3 MB, free: 39.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2045, allocations: 0 / 452.3 MB, free: 39.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002518/0.2047, allocations: 237.9 kB / 452.5 MB, free: 39.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2047, allocations: 7.75 kB / 452.5 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2048, allocations: 2.625 kB / 452.5 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2048, allocations: 0 / 452.5 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.2049, allocations: 43.03 kB / 452.6 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2049, allocations: 0 / 452.6 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.205, allocations: 16.41 kB / 452.6 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.205, allocations: 5.656 kB / 452.6 MB, free: 39.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.000119/0.2051, allocations: 209.7 kB / 452.8 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.2051, allocations: 63.88 kB / 452.8 MB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.2055, allocations: 269.7 kB / 453.1 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2055, allocations: 6.031 kB / 453.1 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2055, allocations: 2.844 kB / 453.1 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2055, allocations: 0 / 453.1 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.206, allocations: 0.7269 MB / 453.8 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.206, allocations: 2.969 kB / 453.8 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/0.2061, allocations: 37.55 kB / 453.9 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2061, allocations: 0 / 453.9 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.2061, allocations: 10.23 kB / 453.9 MB, free: 38.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2061, allocations: 2.875 kB / 453.9 MB, free: 38.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2061, allocations: 0 / 453.9 MB, free: 38.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.2064, allocations: 407 kB / 454.3 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.2064, allocations: 78.39 kB / 454.4 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.2065, allocations: 4 kB / 454.4 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-05/0.2066, allocations: 14.44 kB / 454.4 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.2066, allocations: 16.03 kB / 454.4 MB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.2066, allocations: 2.812 kB / 454.4 MB, free: 37.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004073/0.207, allocations: 0.6773 MB / 455.1 MB, free: 37.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.207, allocations: 0 / 455.1 MB, free: 37.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.2073, allocations: 59.22 kB / 455.1 MB, free: 37.71 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 (16): * Single equations (assignments): 16 * 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.001088/0.2084, allocations: 1.265 MB / 456.4 MB, free: 36.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.2086, allocations: 136.6 kB / 456.5 MB, free: 36.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2086, allocations: 4 kB / 456.5 MB, free: 36.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.217e-05/0.2087, allocations: 79.02 kB / 456.6 MB, free: 36.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.2091, allocations: 80.66 kB / 456.7 MB, free: 36.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.2128, allocations: 5.111 MB / 461.8 MB, free: 34.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.2129, allocations: 264.9 kB / 462.1 MB, free: 34.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.213, allocations: 79.94 kB / 462.2 MB, free: 34.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.2132, allocations: 174.1 kB / 462.3 MB, free: 34.17 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2132, allocations: 0 / 462.3 MB, free: 34.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.2361, allocations: 10.84 MB / 473.2 MB, free: 32.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.768/7.004, allocations: 10.8 kB / 473.2 MB, free: 32.07 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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: 9.07906639110297]