Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.0008191/0.0008191, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0008837/0.0008837, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8459/0.8459, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2419/0.2419, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.952e-05, allocations: 2.281 kB / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002187/0.002207, allocations: 1.617 MB / 443.8 MB, free: 28 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1618/0.164, allocations: 0.5346 MB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.1641, allocations: 6.812 kB / 444.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.1643, allocations: 72.64 kB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.1645, allocations: 107.2 kB / 444.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.1647, allocations: 117.7 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1649, allocations: 90 kB / 444.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.165, allocations: 15.48 kB / 444.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.667e-05/0.165, allocations: 45.08 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.374e-05/0.1651, allocations: 55.75 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1651, allocations: 4.219 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.474e-05/0.1652, allocations: 46.89 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.1652, allocations: 24.39 kB / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.1652, allocations: 12.97 kB / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.1654, allocations: 103.4 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1654, allocations: 0 / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1654, allocations: 3.938 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.1654, allocations: 2.938 kB / 445 MB, free: 43.13 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.0003137/0.1657, allocations: 339.3 kB / 445.4 MB, free: 42.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1657, allocations: 12.12 kB / 445.4 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.045e-05/0.1658, allocations: 34.12 kB / 445.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.1658, allocations: 15.09 kB / 445.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.1659, allocations: 138.3 kB / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.1659, allocations: 3.438 kB / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.1659, allocations: 3.5 kB / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.685e-05/0.166, allocations: 57.89 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.166, allocations: 10.14 kB / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.166, allocations: 3.938 kB / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.166, allocations: 0 / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.277e-05/0.1661, allocations: 30.17 kB / 445.7 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.1663, allocations: 269.4 kB / 445.9 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.313e-05/0.1664, allocations: 47.47 kB / 446 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.1664, allocations: 17.77 kB / 446 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.1664, allocations: 3.656 kB / 446 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.1664, allocations: 33.84 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1664, allocations: 3.531 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000533/0.167, allocations: 233.2 kB / 446.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.167, allocations: 58.41 kB / 446.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.1671, allocations: 210.9 kB / 446.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.1671, allocations: 29.52 kB / 446.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.1671, allocations: 110.5 kB / 446.7 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.1672, allocations: 25.97 kB / 446.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.1672, allocations: 24.42 kB / 446.7 MB, free: 41.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.776e-05/0.1672, allocations: 327.7 kB / 447 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.421e-05/0.1673, allocations: 31.69 kB / 447.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.1673, allocations: 29.45 kB / 447.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.889e-05/0.1674, allocations: 76.03 kB / 447.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1674, allocations: 6.625 kB / 447.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001045/0.1675, allocations: 111.1 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1675, allocations: 5.25 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1675, allocations: 0.7812 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1675, allocations: 2.812 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.1676, allocations: 20.3 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.1676, allocations: 2.719 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.1676, allocations: 13.2 kB / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.1676, allocations: 2.594 kB / 447.3 MB, free: 41.54 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.562e-05/0.1676, allocations: 140.1 kB / 447.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.1677, allocations: 14.11 kB / 447.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.1678, allocations: 125.9 kB / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1678, allocations: 2.719 kB / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1678, allocations: 0 / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1678, allocations: 0 / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.1681, allocations: 384.2 kB / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1681, allocations: 2.688 kB / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.1681, allocations: 27 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1681, allocations: 0 / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1681, allocations: 2.594 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1681, allocations: 3.938 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1681, allocations: 0 / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.1682, allocations: 220.6 kB / 448.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-06/0.1683, allocations: 6.672 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.1683, allocations: 6.688 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.709e-05/0.1683, allocations: 14.48 kB / 448.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.1683, allocations: 3.094 kB / 448.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1683, allocations: 6.188 kB / 448.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.167e-05/0.1684, allocations: 166.4 kB / 448.4 MB, free: 40.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1684, allocations: 0 / 448.4 MB, free: 40.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.1686, allocations: 26.33 kB / 448.5 MB, free: 40.85 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.0008752/0.1694, allocations: 1.118 MB / 449.6 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.1696, allocations: 80.48 kB / 449.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.1696, allocations: 0 / 449.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.1696, allocations: 44.53 kB / 449.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.1699, allocations: 22.52 kB / 449.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009439/0.1708, allocations: 1.727 MB / 451.4 MB, free: 38.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.037e-05/0.1709, allocations: 101.3 kB / 451.5 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.963e-05/0.1709, allocations: 17.94 kB / 451.6 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.171, allocations: 38.58 kB / 451.6 MB, free: 38.63 MB / 410.7 MB Notification: Performance of SimCode: time 4.9e-07/0.171, allocations: 0 / 451.6 MB, free: 38.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.1861, allocations: 3.86 MB / 455.5 MB, free: 37.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.642/6.829, allocations: 16.38 kB / 455.5 MB, free: 37.28 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.717380988411605]