Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.0008812/0.0008812, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008605/0.0008605, 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.8829/0.8829, allocations: 177 MB / 204.1 MB, free: 5.77 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.2498/0.2498, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.337e-05, allocations: 6.219 kB / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.2005/0.2005, allocations: 1.602 MB / 443.8 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008363/0.2013, allocations: 0.5374 MB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.2014, allocations: 0 / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.2017, allocations: 83.42 kB / 444.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.2019, allocations: 100.9 kB / 444.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.2021, allocations: 128.7 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.2023, allocations: 79.02 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2024, allocations: 14.14 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.109e-05/0.2025, allocations: 48.64 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.2026, allocations: 49.95 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.2026, allocations: 4.844 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.924e-05/0.2026, allocations: 43.77 kB / 444.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.2027, allocations: 30.94 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.2027, allocations: 19.42 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.2029, allocations: 104.5 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2029, allocations: 0 / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2029, allocations: 0 / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2029, allocations: 0 / 445 MB, free: 43.14 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.0003456/0.2032, allocations: 339.4 kB / 445.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2033, allocations: 11.41 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.476e-05/0.2033, allocations: 34.5 kB / 445.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.2033, allocations: 14.69 kB / 445.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.2034, allocations: 136.2 kB / 445.5 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-06/0.2034, allocations: 13.23 kB / 445.5 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.2034, allocations: 4.859 kB / 445.6 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.2036, allocations: 57.38 kB / 445.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2036, allocations: 14.3 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.2036, allocations: 384 / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2036, allocations: 4.125 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.615e-05/0.2036, allocations: 31.52 kB / 445.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.2039, allocations: 257.8 kB / 445.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.661e-05/0.204, allocations: 48.91 kB / 446 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.204, allocations: 24.31 kB / 446 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.204, allocations: 5.938 kB / 446 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.204, allocations: 30.56 kB / 446 MB, free: 42.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.204, allocations: 0 / 446 MB, free: 42.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005802/0.2046, allocations: 240.2 kB / 446.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.2046, allocations: 54.12 kB / 446.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2048, allocations: 216 kB / 446.5 MB, free: 42.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-06/0.2048, allocations: 31.05 kB / 446.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.2048, allocations: 111.3 kB / 446.7 MB, free: 41.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.2048, allocations: 22.48 kB / 446.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.2048, allocations: 25.02 kB / 446.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.626e-05/0.2049, allocations: 324.3 kB / 447 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.772e-05/0.2049, allocations: 32.53 kB / 447.1 MB, free: 41.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.205, allocations: 30.22 kB / 447.1 MB, free: 41.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.687e-05/0.2051, allocations: 80.06 kB / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.2051, allocations: 0 / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001225/0.2052, allocations: 112.6 kB / 447.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2052, allocations: 5.594 kB / 447.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2052, allocations: 0 / 447.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2052, allocations: 0 / 447.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.2053, allocations: 21.8 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2053, allocations: 0 / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.2053, allocations: 13.89 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.2053, allocations: 2.938 kB / 447.3 MB, free: 41.55 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 4.949e-05/0.2054, allocations: 131.3 kB / 447.4 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.2054, allocations: 13.62 kB / 447.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.2056, allocations: 133.3 kB / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2056, allocations: 2.719 kB / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2056, allocations: 0 / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2056, allocations: 3.938 kB / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.2059, allocations: 394.2 kB / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.2059, allocations: 2.688 kB / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.2059, allocations: 17.98 kB / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2059, allocations: 0 / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.2059, allocations: 2.969 kB / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2059, allocations: 0 / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.2059, allocations: 3.938 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.206, allocations: 226.7 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.206, allocations: 9.219 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.2061, allocations: 2.844 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.644e-05/0.2061, allocations: 6.125 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.2061, allocations: 6.562 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.2061, allocations: 6.562 kB / 448.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.135e-05/0.2062, allocations: 158.7 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2062, allocations: 0 / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001732/0.2064, allocations: 28.09 kB / 448.4 MB, free: 40.86 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.001024/0.2074, allocations: 1.109 MB / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.2076, allocations: 76.22 kB / 449.6 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2076, allocations: 0 / 449.6 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.947e-05/0.2076, allocations: 41.77 kB / 449.7 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.208, allocations: 16.97 kB / 449.7 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.2091, allocations: 1.717 MB / 451.4 MB, free: 38.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.299e-05/0.2092, allocations: 103 kB / 451.5 MB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.606e-05/0.2092, allocations: 20.64 kB / 451.5 MB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.2093, allocations: 42.72 kB / 451.6 MB, free: 38.59 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2093, allocations: 0 / 451.6 MB, free: 38.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.2267, allocations: 3.873 MB / 455.4 MB, free: 37.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.685/6.912, allocations: 6.562 kB / 455.4 MB, free: 37.21 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.881830305792391]