Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001381/0.001381, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001538/0.001538, allocations: 172.6 kB / 24.82 MB, free: 8.918 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.137/1.137, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.3072/0.3072, allocations: 34.27 MB / 296.1 MB, free: 0.7188 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 378.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.881e-05, allocations: 2.312 kB / 378.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003664/0.003693, allocations: 1.746 MB / 380.3 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.005484, allocations: 1.001 MB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.005604, allocations: 0 / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.005964, allocations: 47.64 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.006394, allocations: 95.53 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.006704, allocations: 75.66 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.00693, allocations: 111.6 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.007049, allocations: 11.98 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.007194, allocations: 51.83 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.007296, allocations: 27.91 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.007315, allocations: 4 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.007443, allocations: 51.84 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.291e-05/0.007506, allocations: 15.94 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.007559, allocations: 23.92 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.007803, allocations: 91.66 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.007809, allocations: 0 / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.00781, allocations: 0 / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.007817, allocations: 0 / 381.9 MB, free: 14.93 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.0006223/0.008439, allocations: 455.8 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.008488, allocations: 8.031 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.008543, allocations: 12.89 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.008758, allocations: 156.3 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.008782, allocations: 8.359 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.008804, allocations: 384 / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.008957, allocations: 62.94 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.008971, allocations: 7.938 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.00898, allocations: 0 / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.008986, allocations: 0 / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.488e-05/0.009021, allocations: 15.98 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.009366, allocations: 252.4 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.009486, allocations: 51.16 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.009517, allocations: 19.67 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.009537, allocations: 0 / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.009671, allocations: 72.92 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.009673, allocations: 0 / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004581/0.01013, allocations: 133.5 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.01017, allocations: 55.34 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.01033, allocations: 230.5 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.01035, allocations: 25.7 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.01044, allocations: 150.8 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.01049, allocations: 31.73 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.01054, allocations: 31.36 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.01071, allocations: 0.4962 MB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.964e-05/0.01074, allocations: 8 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.01078, allocations: 31.3 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.682e-05/0.01085, allocations: 55.34 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.01085, allocations: 4 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001525/0.011, allocations: 81.58 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.01102, allocations: 4 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.01102, allocations: 4 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.01104, allocations: 0 / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.01113, allocations: 19.92 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.01113, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.01117, allocations: 4 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.01118, allocations: 4 kB / 384.4 MB, free: 12.27 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 0.0001066/0.01129, allocations: 160.6 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.01132, allocations: 23.84 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.01152, allocations: 99.06 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.01152, allocations: 0 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.01152, allocations: 384 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01153, allocations: 4 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.01192, allocations: 361.6 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.01192, allocations: 4 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.01196, allocations: 8 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.01197, allocations: 4 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.01198, allocations: 4.031 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01198, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.01198, allocations: 3.938 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.01218, allocations: 251.5 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.0122, allocations: 11.89 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.01222, allocations: 7.984 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.01229, allocations: 4 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.01232, allocations: 3.984 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.01234, allocations: 4 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.668e-05/0.01242, allocations: 163.8 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01242, allocations: 4 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.01269, allocations: 27.94 kB / 385.5 MB, free: 11.06 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.001238/0.01392, allocations: 443.8 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.01405, allocations: 39.61 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01405, allocations: 0 / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.01409, allocations: 31.61 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.01434, allocations: 42.42 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.0147, allocations: 218.4 kB / 386.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.01484, allocations: 63.34 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.787e-05/0.01488, allocations: 16.97 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.01495, allocations: 90.19 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.001e-06/0.01495, allocations: 0 / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Templates: time 0.004172/0.01912, allocations: 2.033 MB / 388.5 MB, free: 8.227 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.4251118558458984]