Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.0008847/0.0008847, allocations: 80.34 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.000881/0.000881, allocations: 156.9 kB / 23.94 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.9306/0.9306, allocations: 177 MB / 204.1 MB, free: 5.75 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.2471/0.2471, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.072e-05, allocations: 10.22 kB / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.1731/0.1731, allocations: 1.586 MB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.1744, allocations: 1.248 MB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.1745, allocations: 0 / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.1747, allocations: 25.22 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.175, allocations: 93.86 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.1752, allocations: 109.4 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.1753, allocations: 69.7 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1754, allocations: 6.25 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.03e-05/0.1755, allocations: 40.31 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.802e-05/0.1756, allocations: 22.62 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1756, allocations: 3.375 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1757, allocations: 91.62 kB / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.1758, allocations: 26.25 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.1758, allocations: 16.62 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.176, allocations: 148.8 kB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.176, allocations: 0 / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.176, allocations: 0 / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.176, allocations: 0 / 445.7 MB, free: 42.94 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.0003915/0.1764, allocations: 325.8 kB / 446 MB, free: 42.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1765, allocations: 11.38 kB / 446 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.422e-05/0.1765, allocations: 32.3 kB / 446 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.1765, allocations: 10.23 kB / 446 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1766, allocations: 136.6 kB / 446.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.1766, allocations: 3.469 kB / 446.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.1767, allocations: 384 / 446.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.1768, allocations: 89.09 kB / 446.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1768, allocations: 3.531 kB / 446.3 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1768, allocations: 2.938 kB / 446.3 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1768, allocations: 7.5 kB / 446.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.359e-05/0.1769, allocations: 21.44 kB / 446.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.1771, allocations: 248.5 kB / 446.5 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.1773, allocations: 40.78 kB / 446.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.1774, allocations: 23.92 kB / 446.6 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1774, allocations: 3.938 kB / 446.6 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.1774, allocations: 39.81 kB / 446.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1774, allocations: 0 / 446.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004404/0.1778, allocations: 156.4 kB / 446.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.1779, allocations: 79.73 kB / 446.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.178, allocations: 146.2 kB / 447 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.178, allocations: 25.7 kB / 447 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.178, allocations: 94.95 kB / 447.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.178, allocations: 25.78 kB / 447.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.1781, allocations: 19.34 kB / 447.2 MB, free: 41.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.1781, allocations: 316.9 kB / 447.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.323e-05/0.1782, allocations: 21.97 kB / 447.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.579e-05/0.1782, allocations: 66.25 kB / 447.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.005e-05/0.1783, allocations: 57.56 kB / 447.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1783, allocations: 8.531 kB / 447.6 MB, free: 41.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001279/0.1784, allocations: 80.02 kB / 447.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1785, allocations: 5.375 kB / 447.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1785, allocations: 1.875 kB / 447.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1785, allocations: 0 / 447.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-05/0.1785, allocations: 25.41 kB / 447.7 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.1786, allocations: 0.8438 kB / 447.7 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.1786, allocations: 5.938 kB / 447.7 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1786, allocations: 2.562 kB / 447.7 MB, free: 41.12 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 (5): * Single equations (assignments): 5 * 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 6.322e-05/0.1787, allocations: 123.3 kB / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.1787, allocations: 6.672 kB / 447.9 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.1789, allocations: 94.7 kB / 448 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1789, allocations: 3.422 kB / 448 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1789, allocations: 0 / 448 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1789, allocations: 0 / 448 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.1792, allocations: 327.7 kB / 448.3 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1792, allocations: 4 kB / 448.3 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.1792, allocations: 14.88 kB / 448.3 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1792, allocations: 0 / 448.3 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-06/0.1792, allocations: 0 / 448.3 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1792, allocations: 3.25 kB / 448.3 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1792, allocations: 0 / 448.3 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.1794, allocations: 187.3 kB / 448.5 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.1794, allocations: 14.06 kB / 448.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1794, allocations: 0 / 448.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.08e-05/0.1794, allocations: 6.906 kB / 448.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.1795, allocations: 5.703 kB / 448.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.1795, allocations: 0 / 448.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.427e-05/0.1795, allocations: 116.9 kB / 448.6 MB, free: 40.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1795, allocations: 0 / 448.6 MB, free: 40.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000222/0.1798, allocations: 41.56 kB / 448.7 MB, free: 40.38 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 (5): * Single equations (assignments): 5 * 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.001067/0.1808, allocations: 1.14 MB / 449.8 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.181, allocations: 54.84 kB / 449.9 MB, free: 39.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.181, allocations: 0 / 449.9 MB, free: 39.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.083e-05/0.181, allocations: 29.19 kB / 449.9 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.1814, allocations: 17.33 kB / 449.9 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.1824, allocations: 1.46 MB / 451.4 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.713e-05/0.1825, allocations: 86.95 kB / 451.5 MB, free: 38.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.532e-05/0.1826, allocations: 19.8 kB / 451.5 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.1826, allocations: 31.41 kB / 451.5 MB, free: 38.21 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1826, allocations: 0 / 451.5 MB, free: 38.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.1992, allocations: 4.002 MB / 455.5 MB, free: 36.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/7.04, allocations: 3.516 kB / 455.5 MB, free: 36.75 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.036360180936754]