Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.0008287/0.0008287, allocations: 80.36 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.0008482/0.0008482, allocations: 160.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.9336/0.9336, allocations: 177 MB / 204.1 MB, free: 5.715 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.2507/0.2507, 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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.445e-05, allocations: 2.281 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.1588/0.1588, allocations: 1.96 MB / 444.1 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1604, allocations: 1.308 MB / 445.4 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.1605, allocations: 7.469 kB / 445.5 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.1608, allocations: 57.56 kB / 445.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.1612, allocations: 218 kB / 445.7 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007636/0.1619, allocations: 0.594 MB / 446.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.1622, allocations: 332.4 kB / 446.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1623, allocations: 48.27 kB / 446.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.1626, allocations: 187.7 kB / 446.9 MB, free: 42.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1627, allocations: 170.4 kB / 447 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.1627, allocations: 13.12 kB / 447 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1628, allocations: 66.66 kB / 447.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.163, allocations: 157.7 kB / 447.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.163, allocations: 92.45 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.1633, allocations: 394 kB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1633, allocations: 0 / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1633, allocations: 4 kB / 447.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1633, allocations: 0 / 447.7 MB, free: 42.02 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006824/0.164, allocations: 0.7529 MB / 448.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.1641, allocations: 11.25 kB / 448.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.1641, allocations: 44.28 kB / 448.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.1643, allocations: 82.59 kB / 448.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.1648, allocations: 433.4 kB / 449.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1648, allocations: 7.406 kB / 449.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.1648, allocations: 14.25 kB / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.1651, allocations: 142.1 kB / 449.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1651, allocations: 192 / 449.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1651, allocations: 10.97 kB / 449.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1651, allocations: 2.906 kB / 449.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.1652, allocations: 107.7 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.1658, allocations: 0.6447 MB / 450 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.1659, allocations: 113.2 kB / 450.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.166, allocations: 45.64 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.166, allocations: 2.906 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.166, allocations: 33.47 kB / 450.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.166, allocations: 0 / 450.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008374/0.1669, allocations: 0.5721 MB / 450.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.1669, allocations: 83.39 kB / 450.8 MB, free: 40.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006067/0.1675, allocations: 0.933 MB / 451.8 MB, free: 39.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.1675, allocations: 29.7 kB / 451.8 MB, free: 39.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1676, allocations: 273.6 kB / 452.1 MB, free: 39.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.1677, allocations: 48.42 kB / 452.1 MB, free: 39.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.1677, allocations: 38.66 kB / 452.1 MB, free: 39.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.112e-05/0.1677, allocations: 313.2 kB / 452.4 MB, free: 39.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.181e-05/0.1678, allocations: 63.59 kB / 452.5 MB, free: 39.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.46e-05/0.1679, allocations: 89.27 kB / 452.6 MB, free: 39.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.1681, allocations: 157.7 kB / 452.7 MB, free: 38.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1681, allocations: 0 / 452.7 MB, free: 38.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002707/0.1684, allocations: 262.4 kB / 453 MB, free: 38.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1684, allocations: 5.812 kB / 453 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1684, allocations: 3.938 kB / 453 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1684, allocations: 2.781 kB / 453 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1685, allocations: 32.53 kB / 453 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1685, allocations: 2.875 kB / 453.1 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.1686, allocations: 15.62 kB / 453.1 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.1686, allocations: 8.562 kB / 453.1 MB, free: 38.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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 0.0001231/0.1687, allocations: 219.2 kB / 453.3 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.1688, allocations: 69.27 kB / 453.4 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.1691, allocations: 284.2 kB / 453.6 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1691, allocations: 6.094 kB / 453.6 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1691, allocations: 3.938 kB / 453.6 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1691, allocations: 0 / 453.6 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006236/0.1698, allocations: 0.7628 MB / 454.4 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1698, allocations: 0 / 454.4 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.1698, allocations: 34.55 kB / 454.4 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1698, allocations: 2.969 kB / 454.4 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1699, allocations: 3.234 kB / 454.4 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1699, allocations: 2.969 kB / 454.4 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1699, allocations: 3.938 kB / 454.5 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.1701, allocations: 434.2 kB / 454.9 MB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.1702, allocations: 73.31 kB / 454.9 MB, free: 37.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.1702, allocations: 6.938 kB / 455 MB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.1703, allocations: 14.98 kB / 455 MB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.1704, allocations: 20.16 kB / 455 MB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.1704, allocations: 2.781 kB / 455 MB, free: 37.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004193/0.1708, allocations: 0.6817 MB / 455.7 MB, free: 37.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1708, allocations: 4 kB / 455.7 MB, free: 37.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.171, allocations: 64.09 kB / 455.7 MB, free: 37.48 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 (16): * Single equations (assignments): 16 * 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.001022/0.172, allocations: 1.271 MB / 457 MB, free: 36.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.1723, allocations: 162.5 kB / 457.2 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1723, allocations: 0 / 457.2 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.404e-05/0.1724, allocations: 81.36 kB / 457.3 MB, free: 36.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.1728, allocations: 89.92 kB / 457.3 MB, free: 36.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.1766, allocations: 5.25 MB / 462.6 MB, free: 34.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.1767, allocations: 278 kB / 462.9 MB, free: 34.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.1769, allocations: 94.11 kB / 463 MB, free: 34.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.177, allocations: 178.7 kB / 463.1 MB, free: 33.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.177, allocations: 0 / 463.1 MB, free: 33.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.1983, allocations: 11.06 MB / 474.2 MB, free: 31.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/6.962, allocations: 14.3 kB / 474.2 MB, free: 31.79 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.055844572372735]