Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.0008417/0.0008417, allocations: 80.34 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.0008688/0.0008688, allocations: 160.9 kB / 23.95 MB, free: 0.6172 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.9361/0.9361, allocations: 177 MB / 204.1 MB, free: 5.762 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.2594/0.2594, allocations: 34.24 MB / 294.8 MB, free: 0.6992 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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/2.972e-05, allocations: 6.281 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.171/0.171, allocations: 1.596 MB / 443.8 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007299/0.1718, allocations: 0.5332 MB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.168e-05/0.1718, allocations: 3.938 kB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.172, allocations: 27.84 kB / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.1723, allocations: 81.39 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1724, allocations: 92.09 kB / 444.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1726, allocations: 85.19 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.1727, allocations: 13.31 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.313e-05/0.1727, allocations: 35.64 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.1728, allocations: 31.17 kB / 444.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1728, allocations: 2.906 kB / 444.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1729, allocations: 89.91 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.173, allocations: 18.88 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.173, allocations: 18.91 kB / 444.8 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1732, allocations: 158.8 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1732, allocations: 5.844 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1732, allocations: 0 / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1732, allocations: 0 / 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003776/0.1736, allocations: 333.1 kB / 445.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1736, allocations: 10.56 kB / 445.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.547e-05/0.1736, allocations: 35.25 kB / 445.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.1737, allocations: 15.16 kB / 445.3 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.1738, allocations: 134 kB / 445.5 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.1738, allocations: 6.906 kB / 445.5 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.1738, allocations: 3 kB / 445.5 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.174, allocations: 90.64 kB / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.174, allocations: 192 / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.174, allocations: 3.312 kB / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.174, allocations: 8.062 kB / 445.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.659e-05/0.174, allocations: 28.28 kB / 445.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.1743, allocations: 269.7 kB / 445.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.1744, allocations: 57.47 kB / 445.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.1744, allocations: 25.91 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1745, allocations: 2.656 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.1745, allocations: 38.36 kB / 446 MB, free: 42.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1745, allocations: 3.656 kB / 446 MB, free: 42.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004173/0.1749, allocations: 184.3 kB / 446.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.1749, allocations: 77.11 kB / 446.3 MB, free: 42.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.116e-05/0.175, allocations: 152.3 kB / 446.4 MB, free: 42.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.062e-06/0.175, allocations: 29.45 kB / 446.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.175, allocations: 93.69 kB / 446.5 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.1751, allocations: 29.22 kB / 446.6 MB, free: 41.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.1751, allocations: 36.56 kB / 446.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.704e-05/0.1751, allocations: 321 kB / 446.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.1752, allocations: 28.03 kB / 446.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.044e-05/0.1752, allocations: 70.97 kB / 447 MB, free: 41.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/0.1753, allocations: 72.84 kB / 447.1 MB, free: 41.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1753, allocations: 0 / 447.1 MB, free: 41.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001162/0.1754, allocations: 119.6 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.1754, allocations: 5.75 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1754, allocations: 0 / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1754, allocations: 2.844 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.1755, allocations: 17.97 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1755, allocations: 0 / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.1755, allocations: 13.81 kB / 447.2 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1755, allocations: 6.875 kB / 447.2 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 4.157e-05/0.1756, allocations: 116.5 kB / 447.3 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.1756, allocations: 14.78 kB / 447.4 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.1758, allocations: 115.4 kB / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1758, allocations: 2.906 kB / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1758, allocations: 0 / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1758, allocations: 6.234 kB / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.176, allocations: 374.8 kB / 447.8 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.176, allocations: 3.031 kB / 447.8 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.604e-05/0.1761, allocations: 15.06 kB / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1761, allocations: 0 / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1761, allocations: 6.812 kB / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1761, allocations: 0 / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1761, allocations: 0 / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.1762, allocations: 203.7 kB / 448.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.1762, allocations: 10.08 kB / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1762, allocations: 6.812 kB / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.835e-05/0.1762, allocations: 2.656 kB / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.1763, allocations: 9.797 kB / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.1763, allocations: 2.594 kB / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.68e-05/0.1763, allocations: 125.7 kB / 448.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1763, allocations: 0 / 448.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000192/0.1765, allocations: 43.73 kB / 448.3 MB, free: 40.76 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.0009232/0.1774, allocations: 1.152 MB / 449.4 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.1776, allocations: 75.95 kB / 449.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1776, allocations: 2.594 kB / 449.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.1776, allocations: 27.78 kB / 449.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.1779, allocations: 29.12 kB / 449.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009094/0.1788, allocations: 1.563 MB / 451.1 MB, free: 38.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.1789, allocations: 78.02 kB / 451.2 MB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.542e-05/0.1789, allocations: 26.91 kB / 451.2 MB, free: 38.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.179, allocations: 32.42 kB / 451.2 MB, free: 38.59 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.179, allocations: 0 / 451.2 MB, free: 38.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.1928, allocations: 4.318 MB / 455.6 MB, free: 37.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.775/6.967, allocations: 0 / 455.6 MB, free: 37.08 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 9.011458288878202]