Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.0008975/0.0008975, 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.0008776/0.0008776, allocations: 156.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.8961/0.8961, allocations: 177 MB / 204.1 MB, free: 5.773 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.2341/0.2341, allocations: 34.25 MB / 294.8 MB, free: 0.7031 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.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 442.2 MB, free: 1.516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.94e-05, allocations: 5.094 kB / 442.2 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.1731/0.1732, allocations: 1.71 MB / 444 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.175, allocations: 1.677 MB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1752, allocations: 0 / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.1755, allocations: 40.66 kB / 445.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000452/0.1759, allocations: 101.8 kB / 445.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.1762, allocations: 79.23 kB / 445.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.1765, allocations: 105.5 kB / 446 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.1766, allocations: 8.312 kB / 446 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.1768, allocations: 67.81 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1769, allocations: 32.67 kB / 446.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.1769, allocations: 5.781 kB / 446.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.1772, allocations: 103.3 kB / 446.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.832e-05/0.1773, allocations: 23.7 kB / 446.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.1773, allocations: 20.02 kB / 446.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.1777, allocations: 177.3 kB / 446.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.1777, allocations: 3.469 kB / 446.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1777, allocations: 7.375 kB / 446.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1777, allocations: 1.5 kB / 446.4 MB, free: 42.55 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.0006154/0.1783, allocations: 351.6 kB / 446.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.1784, allocations: 11.69 kB / 446.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.1784, allocations: 30.75 kB / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.1785, allocations: 16.25 kB / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.1788, allocations: 146.3 kB / 446.9 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1788, allocations: 384 / 446.9 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.1788, allocations: 3.281 kB / 446.9 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.179, allocations: 106.2 kB / 447 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.179, allocations: 6.125 kB / 447 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.179, allocations: 0 / 447 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.179, allocations: 2.719 kB / 447.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.309e-05/0.179, allocations: 22.59 kB / 447.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.1793, allocations: 254.3 kB / 447.3 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.1795, allocations: 64.05 kB / 447.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.1795, allocations: 20.7 kB / 447.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.1795, allocations: 0.5 kB / 447.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.1796, allocations: 71.19 kB / 447.5 MB, free: 41.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.1796, allocations: 0 / 447.5 MB, free: 41.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004196/0.18, allocations: 177.2 kB / 447.6 MB, free: 41.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.1801, allocations: 83.89 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1802, allocations: 167 kB / 447.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.1802, allocations: 32.77 kB / 447.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.1802, allocations: 98.12 kB / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.1802, allocations: 22.05 kB / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.1803, allocations: 26.47 kB / 448.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.623e-05/0.1803, allocations: 324.8 kB / 448.4 MB, free: 40.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.371e-05/0.1803, allocations: 19.34 kB / 448.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.386e-05/0.1804, allocations: 74.39 kB / 448.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.468e-05/0.1805, allocations: 55.06 kB / 448.5 MB, free: 40.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1805, allocations: 2.906 kB / 448.5 MB, free: 40.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001077/0.1806, allocations: 115.7 kB / 448.6 MB, free: 40.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1806, allocations: 5.906 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.1806, allocations: 0 / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1806, allocations: 3.031 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/0.1807, allocations: 14.53 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.1807, allocations: 10.03 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/0.1807, allocations: 6.688 kB / 448.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1807, allocations: 5.188 kB / 448.7 MB, free: 40.59 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 6.518e-05/0.1808, allocations: 123.6 kB / 448.8 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.1808, allocations: 13.98 kB / 448.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.1809, allocations: 119.2 kB / 448.9 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1809, allocations: 0 / 448.9 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1809, allocations: 0 / 448.9 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.181, allocations: 4.594 kB / 448.9 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.1812, allocations: 374.9 kB / 449.3 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1812, allocations: 0 / 449.3 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.1812, allocations: 11.67 kB / 449.3 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1812, allocations: 2.781 kB / 449.3 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1812, allocations: 4.031 kB / 449.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1812, allocations: 6.625 kB / 449.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1812, allocations: 3.938 kB / 449.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.1814, allocations: 208.6 kB / 449.5 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.1814, allocations: 14.23 kB / 449.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1814, allocations: 2.844 kB / 449.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.1814, allocations: 2.938 kB / 449.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.1815, allocations: 14.17 kB / 449.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1815, allocations: 2.938 kB / 449.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.754e-05/0.1815, allocations: 136.2 kB / 449.7 MB, free: 39.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1815, allocations: 4 kB / 449.7 MB, free: 39.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004127/0.1819, allocations: 47.98 kB / 449.8 MB, free: 39.78 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.001106/0.183, allocations: 1.233 MB / 451 MB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.1832, allocations: 65.36 kB / 451.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1832, allocations: 0 / 451.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.147e-05/0.1832, allocations: 28.5 kB / 451.1 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.1835, allocations: 36.22 kB / 451.1 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009909/0.1845, allocations: 1.598 MB / 452.7 MB, free: 37.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.058e-05/0.1845, allocations: 92.77 kB / 452.8 MB, free: 37.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.406e-05/0.1846, allocations: 25.53 kB / 452.8 MB, free: 37.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.1846, allocations: 42.36 kB / 452.9 MB, free: 37.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1846, allocations: 0 / 452.9 MB, free: 37.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.2037, allocations: 4.898 MB / 457.8 MB, free: 35.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/6.973, allocations: 6.469 kB / 457.8 MB, free: 35.88 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.899693228304386]