Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.0008686/0.0008686, allocations: 83.69 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.0009104/0.0009104, 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.8761/0.8761, 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.2334/0.2334, allocations: 34.25 MB / 294.9 MB, free: 0.6914 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.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.066e-05, allocations: 2.281 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002031/0.002052, allocations: 1.602 MB / 443.8 MB, free: 32 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1524/0.1545, allocations: 0.5506 MB / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.1545, allocations: 0 / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.1547, allocations: 26.97 kB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.1549, allocations: 78.73 kB / 444.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.1551, allocations: 116.4 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.1552, allocations: 76.66 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.849e-05/0.1553, allocations: 13.28 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.854e-05/0.1554, allocations: 35.34 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.1554, allocations: 25.55 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1554, allocations: 6.094 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1555, allocations: 96.2 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/0.1556, allocations: 19.05 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.1556, allocations: 13.28 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1558, allocations: 149.4 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1558, allocations: 0.5625 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1558, allocations: 2.5 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1558, allocations: 0.7188 kB / 445 MB, free: 43.12 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003902/0.1562, allocations: 338 kB / 445.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1562, allocations: 8.625 kB / 445.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.548e-05/0.1562, allocations: 33.5 kB / 445.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.1563, allocations: 7.391 kB / 445.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.1564, allocations: 145.3 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.1564, allocations: 384 / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.1565, allocations: 6.062 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.1566, allocations: 89.14 kB / 445.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1566, allocations: 3.25 kB / 445.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.1566, allocations: 6.281 kB / 445.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1566, allocations: 3.375 kB / 445.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.008e-05/0.1567, allocations: 27.73 kB / 445.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.157, allocations: 253.7 kB / 445.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.94e-05/0.1571, allocations: 53.59 kB / 445.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.1572, allocations: 20.52 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1572, allocations: 6.594 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.1572, allocations: 30.56 kB / 446 MB, free: 42.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.1572, allocations: 3.281 kB / 446 MB, free: 42.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006105/0.1578, allocations: 181.4 kB / 446.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.1578, allocations: 79.73 kB / 446.3 MB, free: 42.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.391e-05/0.1579, allocations: 148.1 kB / 446.4 MB, free: 42.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.1579, allocations: 28.61 kB / 446.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.158, allocations: 102 kB / 446.5 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.158, allocations: 19.2 kB / 446.5 MB, free: 41.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.158, allocations: 26.12 kB / 446.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.834e-05/0.158, allocations: 321.2 kB / 446.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.1581, allocations: 30.47 kB / 446.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-05/0.1581, allocations: 74.33 kB / 447 MB, free: 41.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.994e-05/0.1582, allocations: 67.53 kB / 447.1 MB, free: 41.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1582, allocations: 0 / 447.1 MB, free: 41.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001127/0.1583, allocations: 114 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1584, allocations: 9.125 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1584, allocations: 3.938 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1584, allocations: 0 / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-05/0.1584, allocations: 19.08 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1584, allocations: 0 / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.1585, allocations: 9.266 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1585, allocations: 0 / 447.2 MB, free: 41.45 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.42e-05/0.1585, allocations: 121.5 kB / 447.3 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.1585, allocations: 9.266 kB / 447.3 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.1587, allocations: 118 kB / 447.4 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1587, allocations: 6.641 kB / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1587, allocations: 3 kB / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1587, allocations: 0 / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.1589, allocations: 361.2 kB / 447.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1589, allocations: 0 / 447.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-05/0.159, allocations: 14.98 kB / 447.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.159, allocations: 6.719 kB / 447.8 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.159, allocations: 3.75 kB / 447.8 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.159, allocations: 1.312 kB / 447.8 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.159, allocations: 3.938 kB / 447.8 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.1591, allocations: 193.7 kB / 448 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.1591, allocations: 12.92 kB / 448 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1591, allocations: 2.938 kB / 448 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.618e-05/0.1591, allocations: 2.938 kB / 448 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.1592, allocations: 15.23 kB / 448.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1592, allocations: 4 kB / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.223e-05/0.1592, allocations: 118.2 kB / 448.2 MB, free: 40.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1592, allocations: 0 / 448.2 MB, free: 40.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.1594, allocations: 43.22 kB / 448.2 MB, free: 40.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0009114/0.1603, allocations: 1.157 MB / 449.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.1605, allocations: 69.73 kB / 449.4 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1605, allocations: 4 kB / 449.5 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.1605, allocations: 34.16 kB / 449.5 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.1607, allocations: 24.72 kB / 449.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008595/0.1616, allocations: 1.539 MB / 451 MB, free: 38.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.317e-05/0.1616, allocations: 88.72 kB / 451.1 MB, free: 38.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.974e-05/0.1617, allocations: 20.92 kB / 451.2 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.1617, allocations: 29.23 kB / 451.2 MB, free: 38.65 MB / 410.7 MB Notification: Performance of SimCode: time 4.9e-07/0.1618, allocations: 2.781 kB / 451.2 MB, free: 38.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.1747, allocations: 4.279 MB / 455.5 MB, free: 37.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.57/6.745, allocations: 10.67 kB / 455.5 MB, free: 37.16 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.620367740280926]