Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.002136/0.002136, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002205/0.002205, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.513/1.513, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.4103/0.4103, allocations: 34.26 MB / 295.3 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.648e-05/3.84e-05, allocations: 6.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.0039/0.003939, allocations: 1.719 MB / 379.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.005961, allocations: 0.9737 MB / 380.1 MB, free: 176 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.257e-05/0.006033, allocations: 0 / 380.1 MB, free: 176 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.006385, allocations: 67.61 kB / 380.1 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.006772, allocations: 99.53 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.00703, allocations: 79.59 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.007244, allocations: 103.6 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.007346, allocations: 7.984 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.007482, allocations: 55.83 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.702e-05/0.007579, allocations: 35.84 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.007602, allocations: 4 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.007719, allocations: 47.91 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.856e-05/0.007798, allocations: 27.92 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.804e-05/0.007856, allocations: 19.88 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.008139, allocations: 135.5 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.008142, allocations: 0 / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.008144, allocations: 0 / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.008149, allocations: 0 / 380.7 MB, free: 15.5 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.000701/0.00885, allocations: 377.3 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.008896, allocations: 12.03 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.008968, allocations: 16.84 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.009302, allocations: 162.5 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.009317, allocations: 4.375 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.009354, allocations: 384 / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.009525, allocations: 62.22 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.00954, allocations: 7.875 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.009551, allocations: 0 / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.009556, allocations: 0 / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.184e-05/0.009638, allocations: 19.98 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.01006, allocations: 244.5 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.01025, allocations: 54.67 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.145e-05/0.01034, allocations: 28.72 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.01035, allocations: 0 / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.01052, allocations: 67.39 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.01052, allocations: 0 / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006444/0.01117, allocations: 197.2 kB / 382 MB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.01122, allocations: 55.41 kB / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.01156, allocations: 279 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.01158, allocations: 29.7 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.782e-05/0.01168, allocations: 116.1 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.01172, allocations: 23.8 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.01177, allocations: 21.7 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.01196, allocations: 330.8 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.842e-05/0.01203, allocations: 28.3 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.044e-05/0.01211, allocations: 37.64 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.01227, allocations: 69.69 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01227, allocations: 8 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002289/0.0125, allocations: 109.5 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.01252, allocations: 7.984 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01253, allocations: 0 / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.01255, allocations: 4 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/0.01264, allocations: 12 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.01265, allocations: 0 / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.01271, allocations: 8 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.01272, allocations: 3.984 kB / 383.1 MB, free: 12.96 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.0001452/0.01286, allocations: 145.7 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.01289, allocations: 15.91 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.0132, allocations: 123.1 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.01321, allocations: 7.938 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.01322, allocations: 0 / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01322, allocations: 0 / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005627/0.01378, allocations: 362.9 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01378, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.01383, allocations: 12 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.01384, allocations: 4 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.01384, allocations: 4.031 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01385, allocations: 0 / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01385, allocations: 0 / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.01417, allocations: 224.2 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.01419, allocations: 11.91 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.01422, allocations: 8 kB / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.0143, allocations: 0 / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.01434, allocations: 7.984 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.01436, allocations: 4 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002242/0.01458, allocations: 212.5 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01458, allocations: 4 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.01486, allocations: 27.94 kB / 384.2 MB, free: 11.74 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.002295/0.01715, allocations: 0.4888 MB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.01736, allocations: 55.98 kB / 384.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01736, allocations: 0 / 384.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005072/0.01787, allocations: 36.08 kB / 384.8 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.01828, allocations: 35.02 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006515/0.01893, allocations: 302 kB / 385.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.01908, allocations: 108.9 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.12e-05/0.01913, allocations: 17.09 kB / 385.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.01918, allocations: 16.5 kB / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01918, allocations: 3.938 kB / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of Templates: time 0.005605/0.02479, allocations: 1.886 MB / 387.2 MB, free: 8.984 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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: 4.9656982709420845]