Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.001156/0.001156, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001616/0.002772, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001038/0.001038, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001297/0.002335, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9586/0.9586, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1815/1.14, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1665/0.1665, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02826/0.1948, allocations: 12.3 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 267.3 MB, free: 6.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.162e-05, allocations: 6.25 kB / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002187/0.002199, allocations: 1.906 MB / 269.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.003219, allocations: 0.9087 MB / 270.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.953e-05/0.003288, allocations: 3.938 kB / 270.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.003545, allocations: 167.3 kB / 270.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.003776, allocations: 151.4 kB / 270.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.004049, allocations: 139.6 kB / 270.6 MB, free: 3.164 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.004291, allocations: 219.3 kB / 270.8 MB, free: 2.949 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.929e-05/0.004371, allocations: 18.39 kB / 270.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.004543, allocations: 172.3 kB / 271 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.004649, allocations: 103.8 kB / 271.1 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.004667, allocations: 8 kB / 271.1 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.493e-05/0.004742, allocations: 43.92 kB / 271.1 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.00479, allocations: 39.86 kB / 271.1 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.114e-05/0.004831, allocations: 35.81 kB / 271.2 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.005001, allocations: 159.4 kB / 271.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.958e-05/0.00502, allocations: 0 / 271.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005021, allocations: 0 / 271.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.005032, allocations: 0 / 271.3 MB, free: 2.383 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004105/0.005443, allocations: 458.9 kB / 271.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.617e-05/0.005469, allocations: 15.83 kB / 271.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.005502, allocations: 20.91 kB / 271.8 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.005665, allocations: 188.9 kB / 272 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.005679, allocations: 4.375 kB / 272 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.005693, allocations: 8.375 kB / 272 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.005809, allocations: 99.44 kB / 272.1 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.005818, allocations: 7.891 kB / 272.1 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.005826, allocations: 4 kB / 272.1 MB, free: 1.523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.005829, allocations: 3.938 kB / 272.1 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.694e-05/0.005866, allocations: 21.64 kB / 272.2 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.0061, allocations: 284.9 kB / 272.4 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.00622, allocations: 174.5 kB / 272.6 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.006246, allocations: 25.7 kB / 272.6 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.006258, allocations: 4 kB / 272.6 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.006366, allocations: 111.7 kB / 272.7 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.006368, allocations: 3.984 kB / 272.7 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.00034/0.006708, allocations: 214.9 kB / 273 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.006741, allocations: 77.11 kB / 273 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.006888, allocations: 272.7 kB / 273.3 MB, free: 248 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.006903, allocations: 33.7 kB / 273.3 MB, free: 208 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.006941, allocations: 113 kB / 273.4 MB, free: 92 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.006975, allocations: 47.62 kB / 273.5 MB, free: 44 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.007013, allocations: 37.69 kB / 273.5 MB, free: 0 / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.007102, allocations: 338.8 kB / 273.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.007125, allocations: 22.77 kB / 273.9 MB, free: 15.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.007159, allocations: 51.36 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.769e-05/0.007227, allocations: 84.91 kB / 274 MB, free: 15.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.007228, allocations: 0 / 274 MB, free: 15.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001016/0.007329, allocations: 115.2 kB / 274.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.007339, allocations: 8 kB / 274.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.007343, allocations: 0 / 274.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/0.00735, allocations: 4 kB / 274.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.007434, allocations: 39.97 kB / 274.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.007438, allocations: 0 / 274.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.007473, allocations: 4 kB / 274.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.007481, allocations: 8 kB / 274.2 MB, free: 15.29 MB / 282.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 (20): * Single equations (assignments): 20 * 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.605e-05/0.007547, allocations: 128.5 kB / 274.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.007566, allocations: 24.05 kB / 274.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.007695, allocations: 127.6 kB / 274.5 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.007698, allocations: 4 kB / 274.5 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.0077, allocations: 0 / 274.5 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.007704, allocations: 0 / 274.5 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.008004, allocations: 0.4993 MB / 275 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.008006, allocations: 0 / 275 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.008047, allocations: 24.69 kB / 275 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.008071, allocations: 23.84 kB / 275 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.008073, allocations: 8 kB / 275 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.008083, allocations: 8 kB / 275 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008084, allocations: 0 / 275 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.008086, allocations: 4 kB / 275 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.008237, allocations: 375 kB / 275.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.008256, allocations: 11.98 kB / 275.4 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.00832, allocations: 8 kB / 275.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.008348, allocations: 19.91 kB / 275.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.00836, allocations: 8 kB / 275.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.476e-05/0.008435, allocations: 111.5 kB / 275.5 MB, free: 13.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008435, allocations: 4 kB / 275.5 MB, free: 13.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.008614, allocations: 32 kB / 275.6 MB, free: 13.82 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 14 * 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.001406/0.01002, allocations: 0.6479 MB / 276.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.01014, allocations: 76.91 kB / 276.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/0.01015, allocations: 4 kB / 276.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.187e-05/0.01019, allocations: 48.91 kB / 276.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.01045, allocations: 80.88 kB / 276.4 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.01098, allocations: 392.1 kB / 276.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.01e-05/0.01103, allocations: 92.22 kB / 276.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.274e-05/0.01109, allocations: 25.94 kB / 276.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/0.01117, allocations: 87.34 kB / 277 MB, free: 12.3 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01117, allocations: 0 / 277 MB, free: 12.3 MB / 282.7 MB Notification: Performance of Templates: time 0.004327/0.0155, allocations: 3.22 MB / 280.2 MB, free: 9.078 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8945132419466972]