Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007714/0.0007714, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007647/0.0007647, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8763/0.8763, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.235/0.235, allocations: 32.8 MB / 293.5 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.837e-05, allocations: 4.25 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00242/0.002438, allocations: 1.871 MB / 441.6 MB, free: 2.277 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.00378, allocations: 1.08 MB / 442.6 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.003887, allocations: 4 kB / 442.6 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.004306, allocations: 223.2 kB / 442.9 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004368/0.004742, allocations: 215.2 kB / 443.1 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.005009, allocations: 123.4 kB / 443.2 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.005285, allocations: 267.2 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.0054, allocations: 17.97 kB / 443.5 MB, free: 364 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.005555, allocations: 147.6 kB / 443.6 MB, free: 216 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.005701, allocations: 151.7 kB / 443.8 MB, free: 64 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.005722, allocations: 12 kB / 443.8 MB, free: 52 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1786/0.1844, allocations: 74.92 kB / 443.8 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.1846, allocations: 53.94 kB / 443.9 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1847, allocations: 48.03 kB / 443.9 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.185, allocations: 238.5 kB / 444.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.185, allocations: 2.953 kB / 444.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.185, allocations: 0 / 444.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.185, allocations: 0 / 444.2 MB, free: 43.66 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004946/0.1855, allocations: 0.4978 MB / 444.7 MB, free: 43.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1856, allocations: 8.938 kB / 444.7 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.756e-05/0.1856, allocations: 41.95 kB / 444.7 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.1856, allocations: 30.16 kB / 444.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.1859, allocations: 217.8 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1859, allocations: 6.812 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1859, allocations: 16.73 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1861, allocations: 112.3 kB / 445.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1861, allocations: 3.609 kB / 445.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1861, allocations: 11.59 kB / 445.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1861, allocations: 0 / 445.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.867e-05/0.1862, allocations: 52.22 kB / 445.2 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.1865, allocations: 447.7 kB / 445.6 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.1868, allocations: 121.2 kB / 445.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.1868, allocations: 43.03 kB / 445.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.1869, allocations: 2.562 kB / 445.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.187, allocations: 126.2 kB / 445.9 MB, free: 42.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.187, allocations: 0 / 445.9 MB, free: 42.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007975/0.1878, allocations: 0.5228 MB / 446.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.1878, allocations: 84.39 kB / 446.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.1881, allocations: 451.3 kB / 446.9 MB, free: 42.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.1881, allocations: 32.64 kB / 447 MB, free: 42.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.1882, allocations: 163.1 kB / 447.1 MB, free: 42.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.1882, allocations: 77.06 kB / 447.2 MB, free: 42.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.1882, allocations: 41.94 kB / 447.2 MB, free: 42.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.234e-05/0.1883, allocations: 347.1 kB / 447.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.1884, allocations: 60.55 kB / 447.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.451e-05/0.1884, allocations: 95.16 kB / 447.7 MB, free: 41.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1886, allocations: 157.7 kB / 447.9 MB, free: 41.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1886, allocations: 0 / 447.9 MB, free: 41.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002187/0.1888, allocations: 246.6 kB / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1888, allocations: 3.406 kB / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1888, allocations: 3.094 kB / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1888, allocations: 3.688 kB / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.1889, allocations: 49.52 kB / 448.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1889, allocations: 0.7812 kB / 448.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.189, allocations: 9.469 kB / 448.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.189, allocations: 9.688 kB / 448.2 MB, free: 41.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.192e-05/0.1891, allocations: 176.4 kB / 448.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.1891, allocations: 33.86 kB / 448.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.1894, allocations: 280.5 kB / 448.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1894, allocations: 2.812 kB / 448.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1894, allocations: 7.266 kB / 448.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1894, allocations: 0 / 448.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.1899, allocations: 0.7151 MB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1899, allocations: 6.562 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.1899, allocations: 29.11 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1899, allocations: 2.844 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.19, allocations: 9.344 kB / 449.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.19, allocations: 2.781 kB / 449.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.19, allocations: 2.75 kB / 449.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.1902, allocations: 442.7 kB / 449.9 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.1902, allocations: 28.92 kB / 449.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.1903, allocations: 13.81 kB / 449.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.1903, allocations: 6.203 kB / 449.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.1904, allocations: 31.55 kB / 450 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.1904, allocations: 12.62 kB / 450 MB, free: 40.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001906/0.1906, allocations: 334 kB / 450.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1906, allocations: 0 / 450.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000234/0.1908, allocations: 53.97 kB / 450.4 MB, free: 40.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001205/0.192, allocations: 1.431 MB / 451.8 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1922, allocations: 156.4 kB / 451.9 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1922, allocations: 0 / 451.9 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.166e-05/0.1923, allocations: 78.91 kB / 452 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1927, allocations: 66.56 kB / 452.1 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.1946, allocations: 2.916 MB / 455 MB, free: 37.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.1947, allocations: 174.5 kB / 455.2 MB, free: 37.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.553e-05/0.1948, allocations: 49.17 kB / 455.2 MB, free: 37.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/0.1949, allocations: 96.81 kB / 455.3 MB, free: 37.54 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1949, allocations: 0 / 455.3 MB, free: 37.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.2123, allocations: 7.391 MB / 462.7 MB, free: 35.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.747/6.959, allocations: 7.25 kB / 462.7 MB, free: 35.8 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.884229194372892]