Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001155/0.001155, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001143/0.001143, allocations: 166.2 kB / 24.99 MB, free: 8.355 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 1.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3142/0.3142, allocations: 34.25 MB / 296 MB, free: 0.793 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 378.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.476e-05, allocations: 5.828 kB / 378.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002482/0.002507, allocations: 1.754 MB / 379.9 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.003802, allocations: 1.005 MB / 380.9 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.003912, allocations: 0 / 380.9 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.00422, allocations: 55.69 kB / 380.9 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.004566, allocations: 103.6 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.004768, allocations: 83.59 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.004922, allocations: 107.7 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.769e-05/0.005009, allocations: 7.938 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.558e-05/0.005095, allocations: 55.81 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.005163, allocations: 23.92 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.005179, allocations: 4 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.733e-05/0.005266, allocations: 43.92 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.005325, allocations: 39.84 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.005371, allocations: 19.88 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.005557, allocations: 115.6 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005559, allocations: 0 / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.00556, allocations: 0 / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.005565, allocations: 0 / 381.5 MB, free: 15.46 MB / 362.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.0004577/0.006022, allocations: 479.6 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.006062, allocations: 16.02 kB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.006114, allocations: 16.84 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.00631, allocations: 161.2 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.006333, allocations: 12.38 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.006353, allocations: 384 / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.006499, allocations: 66.88 kB / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.006511, allocations: 3.938 kB / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.006523, allocations: 0 / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.006534, allocations: 0 / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.38e-05/0.006577, allocations: 11.98 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.006934, allocations: 307.8 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.007044, allocations: 55.09 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.007076, allocations: 23.62 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.007087, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.00719, allocations: 69.05 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.007191, allocations: 0 / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004082/0.007599, allocations: 165.3 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.007634, allocations: 55.39 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.007805, allocations: 273.6 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.007821, allocations: 29.7 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.007889, allocations: 162.9 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.007918, allocations: 23.8 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.007951, allocations: 35.36 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.00807, allocations: 0.504 MB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.008094, allocations: 11.98 kB / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.762e-05/0.008132, allocations: 35.31 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.902e-05/0.008191, allocations: 51.3 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.008192, allocations: 0 / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001193/0.008311, allocations: 97.58 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.008324, allocations: 8 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.008328, allocations: 3.969 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.008341, allocations: 4 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.008419, allocations: 15.98 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.008426, allocations: 4 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.008456, allocations: 4 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.008464, allocations: 4 kB / 384.2 MB, free: 12.57 MB / 362.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 8.031e-05/0.008544, allocations: 172.4 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.008563, allocations: 15.91 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.008715, allocations: 111 kB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.008717, allocations: 0 / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.008719, allocations: 4 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.008724, allocations: 0 / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.009036, allocations: 409 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.009038, allocations: 0 / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.00907, allocations: 12.38 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.009073, allocations: 0 / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.009081, allocations: 0 / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.009084, allocations: 4 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009085, allocations: 4 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.009255, allocations: 263.4 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.009271, allocations: 19.92 kB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.009292, allocations: 4 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.465e-05/0.009336, allocations: 0 / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.009369, allocations: 11.98 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.009382, allocations: 4 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.981e-05/0.009482, allocations: 196.5 kB / 385.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009482, allocations: 0 / 385.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.009667, allocations: 27.94 kB / 385.4 MB, free: 11.25 MB / 362.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.001008/0.01067, allocations: 445.3 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.01081, allocations: 55.59 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01081, allocations: 3.938 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.125e-05/0.01085, allocations: 31.67 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.01109, allocations: 31.97 kB / 386 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.01153, allocations: 262.4 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.958e-05/0.01158, allocations: 71.33 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.333e-05/0.01162, allocations: 21.09 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.01167, allocations: 16.5 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01167, allocations: 0 / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of Templates: time 0.003874/0.01554, allocations: 1.893 MB / 388.2 MB, free: 8.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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: 3.4095627849455923]