Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.0007757/0.0007757, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0007918/0.0007918, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8942/0.8942, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2649/0.2649, allocations: 32.79 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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.129e-05, allocations: 2.281 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002399/0.00242, allocations: 1.931 MB / 441.6 MB, free: 2.219 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.004055, allocations: 1.145 MB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.838e-05/0.004153, allocations: 0 / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005724/0.004725, allocations: 203.3 kB / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.005101, allocations: 218.1 kB / 443.1 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.005456, allocations: 163.4 kB / 443.3 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.005735, allocations: 275.1 kB / 443.6 MB, free: 236 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.005839, allocations: 16.59 kB / 443.6 MB, free: 216 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.006001, allocations: 143.6 kB / 443.7 MB, free: 72 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1795/0.1855, allocations: 100.9 kB / 443.8 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.523e-05/0.1856, allocations: 8.75 kB / 443.8 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.1858, allocations: 70.91 kB / 443.9 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.775e-05/0.1859, allocations: 52.61 kB / 444 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.004e-05/0.186, allocations: 51.42 kB / 444 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.1863, allocations: 245.5 kB / 444.2 MB, free: 43.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1863, allocations: 0.625 kB / 444.2 MB, free: 43.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1863, allocations: 0 / 444.2 MB, free: 43.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1863, allocations: 5.188 kB / 444.3 MB, free: 43.57 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006529/0.187, allocations: 495.4 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.187, allocations: 8.875 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.713e-05/0.187, allocations: 40.44 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.1871, allocations: 26.03 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.1873, allocations: 230 kB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1874, allocations: 3.219 kB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.1874, allocations: 5.094 kB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1875, allocations: 99.28 kB / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1875, allocations: 2.875 kB / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1875, allocations: 6.938 kB / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1875, allocations: 0.8125 kB / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.997e-05/0.1876, allocations: 44.09 kB / 445.2 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.188, allocations: 336.4 kB / 445.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1881, allocations: 127.5 kB / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.1882, allocations: 45.56 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.1882, allocations: 0 / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.1884, allocations: 124.2 kB / 445.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1884, allocations: 0 / 445.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002923/0.1887, allocations: 188.3 kB / 446 MB, free: 42.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.1887, allocations: 86.98 kB / 446.1 MB, free: 42.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.1889, allocations: 363.6 kB / 446.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1889, allocations: 31.3 kB / 446.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.189, allocations: 138 kB / 446.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.189, allocations: 31.25 kB / 446.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.189, allocations: 32.08 kB / 446.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.129e-05/0.1891, allocations: 339.2 kB / 447 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.08e-05/0.1892, allocations: 37.52 kB / 447 MB, free: 41.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.378e-05/0.1892, allocations: 96.45 kB / 447.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.1893, allocations: 102.3 kB / 447.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1893, allocations: 4.875 kB / 447.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001649/0.1895, allocations: 153.2 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1895, allocations: 5.844 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1895, allocations: 0.5 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1895, allocations: 3.562 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.979e-05/0.1896, allocations: 21.09 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1896, allocations: 7.875 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.1897, allocations: 19.97 kB / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1897, allocations: 7.797 kB / 447.4 MB, free: 41.7 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.623e-05/0.1898, allocations: 156.3 kB / 447.6 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.1898, allocations: 26.84 kB / 447.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.19, allocations: 179.3 kB / 447.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.19, allocations: 0 / 447.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.19, allocations: 6.062 kB / 447.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.19, allocations: 0 / 447.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.1902, allocations: 227.7 kB / 448 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1902, allocations: 0 / 448 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.122e-05/0.1902, allocations: 15.39 kB / 448 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1902, allocations: 0 / 448 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1902, allocations: 2.906 kB / 448 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1902, allocations: 0 / 448 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1902, allocations: 2.969 kB / 448 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.1904, allocations: 204.3 kB / 448.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.1904, allocations: 24.86 kB / 448.3 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.1904, allocations: 6.188 kB / 448.3 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.1905, allocations: 8.625 kB / 448.3 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.1905, allocations: 12.91 kB / 448.3 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.1905, allocations: 6.406 kB / 448.3 MB, free: 41.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.1907, allocations: 271 kB / 448.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1907, allocations: 0 / 448.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.1909, allocations: 37.88 kB / 448.6 MB, free: 41.18 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0009679/0.1918, allocations: 1.079 MB / 449.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.192, allocations: 100.1 kB / 449.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.192, allocations: 0 / 449.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.482e-05/0.1921, allocations: 47.53 kB / 449.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.1924, allocations: 67.84 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.194, allocations: 2.377 MB / 452.3 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.359e-05/0.1941, allocations: 139.9 kB / 452.4 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.533e-05/0.1941, allocations: 38.22 kB / 452.4 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.1942, allocations: 72.91 kB / 452.5 MB, free: 38.93 MB / 410.7 MB Notification: Performance of SimCode: time 6.12e-07/0.1942, allocations: 0 / 452.5 MB, free: 38.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.213, allocations: 6.756 MB / 459.3 MB, free: 37.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.66/6.873, allocations: 10.53 kB / 459.3 MB, free: 37.26 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.875652108341455]