Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.002044/0.002044, allocations: 92.31 kB / 20.95 MB, free: 3.477 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.002468/0.002468, 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.589/1.589, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.3504/0.3504, allocations: 34.26 MB / 295.3 MB, free: 0.668 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.041e-05, allocations: 2.312 kB / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003851/0.003881, allocations: 1.716 MB / 379.1 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.006251, allocations: 0.9815 MB / 380.1 MB, free: 176 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.272e-05/0.006344, allocations: 0 / 380.1 MB, free: 176 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.006701, allocations: 63.62 kB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003933/0.007094, allocations: 95.55 kB / 380.2 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.007433, allocations: 83.7 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.007646, allocations: 107.5 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.624e-05/0.007732, allocations: 8 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.007853, allocations: 55.83 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.567e-05/0.007949, allocations: 31.84 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.00797, allocations: 4 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.00808, allocations: 43.92 kB / 380.6 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.665e-05/0.008147, allocations: 27.92 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.008208, allocations: 27.84 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.008489, allocations: 135.5 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.008492, allocations: 0 / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008493, allocations: 0 / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.008498, 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.0006808/0.009179, allocations: 381.2 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.009221, allocations: 12.02 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.009292, allocations: 16.84 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.009632, allocations: 165.5 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.009648, allocations: 384 / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.009673, allocations: 384 / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.009879, allocations: 58.23 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.009896, allocations: 7.891 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.009909, allocations: 0 / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.009913, allocations: 0 / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.01002, allocations: 31.92 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.01046, allocations: 236.6 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.01067, allocations: 58.67 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.01074, allocations: 24.78 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.01076, allocations: 7.938 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.01094, allocations: 63.39 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.01094, allocations: 0 / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007613/0.0117, allocations: 205.2 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.01175, allocations: 55.41 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.01211, allocations: 287.9 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.01213, allocations: 25.7 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.01224, allocations: 116.1 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.01228, allocations: 23.84 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.01233, allocations: 25.72 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.01252, allocations: 322.8 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/0.0126, allocations: 23.98 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.241e-05/0.01268, allocations: 38.08 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.01283, allocations: 73.64 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.01284, allocations: 4 kB / 383 MB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002408/0.01308, allocations: 113.5 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.01309, allocations: 9.875 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.0131, allocations: 0 / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.01313, allocations: 0 / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/0.01322, allocations: 12 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.01323, allocations: 7.984 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.01328, allocations: 0 / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.01329, allocations: 4 kB / 383.1 MB, free: 12.95 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.0001413/0.01344, allocations: 145.7 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.01348, allocations: 23.84 kB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.01376, allocations: 123.1 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.01377, allocations: 4 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.01377, allocations: 3.984 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01378, allocations: 0 / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.01433, allocations: 358.9 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01433, allocations: 0 / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/0.01438, allocations: 19.92 kB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01438, allocations: 4.031 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.0144, allocations: 7.984 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.0144, allocations: 4 kB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.0144, allocations: 0 / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.01471, allocations: 216.2 kB / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.01474, allocations: 15.91 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.01477, allocations: 3.984 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.01485, allocations: 11.94 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.0149, allocations: 3.984 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.01492, allocations: 4 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003859/0.01531, allocations: 228.5 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01531, allocations: 0 / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004731/0.01578, allocations: 24 kB / 384.3 MB, free: 11.71 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.002309/0.01809, allocations: 489.9 kB / 384.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.01831, allocations: 63.89 kB / 384.8 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01831, allocations: 0 / 384.8 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.447e-05/0.01839, allocations: 32.08 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.01877, allocations: 44.05 kB / 384.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.01939, allocations: 310 kB / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.01952, allocations: 113.2 kB / 385.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.301e-05/0.01957, allocations: 8.984 kB / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.01963, allocations: 24.48 kB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01963, allocations: 3.938 kB / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of Templates: time 0.00569/0.02532, allocations: 1.89 MB / 387.2 MB, free: 8.93 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.8538941509323195]