Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.0008153/0.0008153, allocations: 76.36 kB / 20.67 MB, free: 3.887 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.0008426/0.0008426, allocations: 156.9 kB / 23.95 MB, free: 0.6055 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.8592/0.8592, allocations: 177 MB / 204.1 MB, free: 5.742 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.2323/0.2323, allocations: 34.23 MB / 294.8 MB, free: 0.6914 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.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 442.2 MB, free: 1.473 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.617e-05, allocations: 2.281 kB / 442.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.1737/0.1737, allocations: 1.712 MB / 444 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009272/0.1746, allocations: 0.9797 MB / 444.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/0.1747, allocations: 0 / 444.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.1749, allocations: 57.5 kB / 445 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.1752, allocations: 103.8 kB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.1753, allocations: 72.5 kB / 445.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.1754, allocations: 110.3 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.71e-05/0.1755, allocations: 9.859 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.611e-05/0.1756, allocations: 54.2 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.1756, allocations: 26.58 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.1756, allocations: 3.531 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.41e-05/0.1757, allocations: 48.98 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.1757, allocations: 35.97 kB / 445.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.1758, allocations: 18.5 kB / 445.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.1759, allocations: 138.6 kB / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1759, allocations: 0 / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1759, allocations: 0 / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1759, allocations: 0 / 445.6 MB, free: 42.85 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.0003446/0.1763, allocations: 376.8 kB / 446 MB, free: 42.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1763, allocations: 10.62 kB / 446 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.894e-05/0.1763, allocations: 38.12 kB / 446 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.1763, allocations: 14.09 kB / 446 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.1765, allocations: 158.5 kB / 446.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1765, allocations: 9.719 kB / 446.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1765, allocations: 3.25 kB / 446.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1766, allocations: 55.42 kB / 446.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1767, allocations: 192 / 446.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1767, allocations: 4.125 kB / 446.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1767, allocations: 2.906 kB / 446.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.527e-05/0.1767, allocations: 19.64 kB / 446.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002218/0.1769, allocations: 263.7 kB / 446.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.177, allocations: 67.03 kB / 446.6 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.1771, allocations: 24.41 kB / 446.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.1771, allocations: 0 / 446.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.1772, allocations: 74.97 kB / 446.7 MB, free: 41.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.72e-07/0.1772, allocations: 0 / 446.7 MB, free: 41.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003626/0.1775, allocations: 190.8 kB / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.1776, allocations: 54.19 kB / 446.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1777, allocations: 278.2 kB / 447.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-06/0.1777, allocations: 25.7 kB / 447.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.1777, allocations: 116 kB / 447.3 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.1778, allocations: 25.33 kB / 447.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.1778, allocations: 25.62 kB / 447.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.1778, allocations: 330.7 kB / 447.7 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/0.1779, allocations: 23.47 kB / 447.7 MB, free: 41.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.385e-05/0.1779, allocations: 40.34 kB / 447.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.159e-05/0.178, allocations: 70.19 kB / 447.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.178, allocations: 0 / 447.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.889e-05/0.1781, allocations: 107.5 kB / 448 MB, free: 41.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.1781, allocations: 5.469 kB / 448 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1781, allocations: 4.031 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1781, allocations: 3.141 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.1781, allocations: 13.38 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1781, allocations: 6.656 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.1782, allocations: 5.781 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1782, allocations: 6.594 kB / 448 MB, free: 41.18 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.364e-05/0.1782, allocations: 138.5 kB / 448.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.1782, allocations: 20.17 kB / 448.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.1784, allocations: 127 kB / 448.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1784, allocations: 6.562 kB / 448.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1784, allocations: 0 / 448.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1784, allocations: 3.141 kB / 448.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.1786, allocations: 379.8 kB / 448.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1786, allocations: 2.5 kB / 448.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.1786, allocations: 7.781 kB / 448.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1786, allocations: 5.75 kB / 448.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.1786, allocations: 2.109 kB / 448.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1786, allocations: 1.641 kB / 448.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1786, allocations: 2.625 kB / 448.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.882e-05/0.1787, allocations: 222.5 kB / 448.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.1788, allocations: 18.28 kB / 448.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.1788, allocations: 2.938 kB / 448.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.1788, allocations: 0 / 448.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.1788, allocations: 16.88 kB / 448.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1788, allocations: 2.875 kB / 448.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.45e-05/0.1789, allocations: 206.4 kB / 449.1 MB, free: 40.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1789, allocations: 0 / 449.1 MB, free: 40.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.1791, allocations: 26.38 kB / 449.2 MB, free: 40.34 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008328/0.1799, allocations: 1.136 MB / 450.3 MB, free: 39.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.18, allocations: 60.2 kB / 450.4 MB, free: 39.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.18, allocations: 6.781 kB / 450.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.738e-05/0.1801, allocations: 28.28 kB / 450.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.1803, allocations: 35.64 kB / 450.4 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009412/0.1812, allocations: 1.842 MB / 452.3 MB, free: 38.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.019e-05/0.1813, allocations: 108.2 kB / 452.4 MB, free: 38.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.199e-05/0.1813, allocations: 20.64 kB / 452.4 MB, free: 38.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.1814, allocations: 51.27 kB / 452.4 MB, free: 37.98 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1814, allocations: 0 / 452.4 MB, free: 37.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.1957, allocations: 4.623 MB / 457.1 MB, free: 36.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/7.004, allocations: 2.344 kB / 457.1 MB, free: 36.52 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.898053688928485]