Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.0008337/0.0008337, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008273/0.0008273, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8659/0.8659, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2559/0.2559, allocations: 34.25 MB / 294.9 MB, free: 0.7266 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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.932e-05, allocations: 2.281 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002132/0.002152, allocations: 1.605 MB / 443.8 MB, free: 32 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1658/0.1679, allocations: 0.5326 MB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.186e-05/0.168, allocations: 2.906 kB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.1682, allocations: 20.05 kB / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.1684, allocations: 81.41 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.1686, allocations: 94.67 kB / 444.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1687, allocations: 76.22 kB / 444.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.1688, allocations: 15.67 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.26e-05/0.1688, allocations: 43.61 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.903e-05/0.1689, allocations: 25.56 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1689, allocations: 2.844 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.169, allocations: 94.48 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.1691, allocations: 16.03 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.1691, allocations: 22.64 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.1693, allocations: 157.8 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1693, allocations: 0 / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1693, allocations: 0 / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1693, 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003407/0.1696, allocations: 338 kB / 445.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1697, allocations: 7.938 kB / 445.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.094e-05/0.1697, allocations: 38.44 kB / 445.3 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.1697, allocations: 11.69 kB / 445.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1698, allocations: 143 kB / 445.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.1699, allocations: 384 / 445.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.1699, allocations: 2.938 kB / 445.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.17, allocations: 93.16 kB / 445.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.17, allocations: 0.75 kB / 445.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.17, allocations: 10.19 kB / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.17, allocations: 0 / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.516e-05/0.1701, allocations: 31.72 kB / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.1703, allocations: 264.8 kB / 445.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.493e-05/0.1704, allocations: 64.45 kB / 445.9 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.1704, allocations: 23.75 kB / 446 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1705, allocations: 2.391 kB / 446 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.1705, allocations: 41.47 kB / 446 MB, free: 42.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1705, allocations: 0 / 446 MB, free: 42.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003992/0.1709, allocations: 181.2 kB / 446.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.1709, allocations: 83.77 kB / 446.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.118e-05/0.171, allocations: 155.9 kB / 446.4 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.171, allocations: 28.98 kB / 446.5 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.171, allocations: 96.89 kB / 446.5 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.171, allocations: 32.38 kB / 446.6 MB, free: 41.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.1711, allocations: 21.59 kB / 446.6 MB, free: 41.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.388e-05/0.1711, allocations: 325.1 kB / 446.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.425e-05/0.1711, allocations: 31.19 kB / 446.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.896e-05/0.1712, allocations: 74.95 kB / 447 MB, free: 41.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.481e-05/0.1713, allocations: 73.81 kB / 447.1 MB, free: 41.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1713, allocations: 3.938 kB / 447.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001144/0.1714, allocations: 110.7 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.1714, allocations: 5.812 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1714, allocations: 0 / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1714, allocations: 0 / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.1715, allocations: 28.06 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1715, allocations: 0 / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.1715, allocations: 10.19 kB / 447.3 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1715, allocations: 2.781 kB / 447.3 MB, free: 41.44 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 (9): * Single equations (assignments): 9 * 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 3.887e-05/0.1715, allocations: 124.8 kB / 447.4 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.1716, allocations: 10.62 kB / 447.4 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.1717, allocations: 112.4 kB / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1717, allocations: 2.969 kB / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1717, allocations: 1.312 kB / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1717, allocations: 0 / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.172, allocations: 361.5 kB / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.172, allocations: 0 / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.172, allocations: 18.64 kB / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.172, allocations: 2.875 kB / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.172, allocations: 3.328 kB / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.172, allocations: 0 / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.172, allocations: 3.938 kB / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.1721, allocations: 204.4 kB / 448.1 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-06/0.1721, allocations: 14.11 kB / 448.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.1721, allocations: 0 / 448.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.1722, allocations: 10 kB / 448.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.1722, allocations: 10.14 kB / 448.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1722, allocations: 2.875 kB / 448.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.4e-05/0.1723, allocations: 118.6 kB / 448.2 MB, free: 40.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1723, allocations: 3.938 kB / 448.2 MB, free: 40.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.1724, allocations: 48.23 kB / 448.3 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 (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.0009316/0.1734, allocations: 1.16 MB / 449.4 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.1735, allocations: 74.64 kB / 449.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1735, allocations: 0 / 449.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.069e-05/0.1736, allocations: 32.38 kB / 449.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.1738, allocations: 20.8 kB / 449.6 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008741/0.1747, allocations: 1.579 MB / 451.1 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.998e-05/0.1747, allocations: 82.41 kB / 451.2 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.04e-05/0.1748, allocations: 23.03 kB / 451.2 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/0.1748, allocations: 30.08 kB / 451.3 MB, free: 38.62 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1748, allocations: 4 kB / 451.3 MB, free: 38.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.1892, allocations: 4.314 MB / 455.6 MB, free: 37.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/6.915, allocations: 9.438 kB / 455.6 MB, free: 37.13 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.841148770414293]