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.00209/0.00209, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002283/0.002283, allocations: 169.3 kB / 24.26 MB, free: 148 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.54/1.54, allocations: 177.2 MB / 204.6 MB, free: 5.594 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.372/0.372, allocations: 34.27 MB / 295.3 MB, free: 0.6719 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|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.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.309e-05, allocations: 6.312 kB / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.005657/0.00569, allocations: 1.716 MB / 379.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003441/0.009131, allocations: 0.9781 MB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.933e-05/0.00923, allocations: 4 kB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.00963, allocations: 55.62 kB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005548/0.01018, allocations: 103.6 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.01057, allocations: 79.55 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.01086, allocations: 111.6 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.01096, allocations: 7.984 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.01116, allocations: 55.83 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.01128, allocations: 23.86 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.0113, allocations: 4 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.01147, allocations: 47.91 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.01156, allocations: 27.92 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.929e-05/0.01164, allocations: 27.86 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.01202, allocations: 135.5 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.01202, allocations: 0 / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01202, allocations: 3.938 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.01203, allocations: 0 / 380.7 MB, free: 15.48 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.000873/0.0129, allocations: 365.3 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.01295, allocations: 12.03 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.364e-05/0.01305, allocations: 24.83 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.01345, allocations: 158.5 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.01347, allocations: 384 / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.0135, allocations: 8.375 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.01373, allocations: 58.17 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.01375, allocations: 3.938 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.01377, allocations: 4 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.01378, allocations: 0 / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.0139, allocations: 19.98 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.0145, allocations: 244.5 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.01482, allocations: 58.61 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.01494, allocations: 20.8 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.01497, allocations: 8 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.01521, allocations: 67.38 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.01521, allocations: 4 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009757/0.01619, allocations: 189.6 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/0.01626, allocations: 55.41 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/0.01681, allocations: 271 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.01684, allocations: 29.7 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.01698, allocations: 112.1 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.01705, allocations: 31.77 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.01714, allocations: 33.66 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002851/0.01742, allocations: 326.8 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.01754, allocations: 24.06 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.01769, allocations: 41.64 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.01794, allocations: 65.7 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01794, allocations: 0 / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004236/0.01836, allocations: 113.5 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.01839, allocations: 4 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.0184, allocations: 4 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.01842, allocations: 4.031 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.01859, allocations: 15.98 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.0186, allocations: 0 / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.0187, allocations: 4 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.01872, allocations: 8 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.0001339/0.01885, allocations: 137.7 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.01889, allocations: 19.91 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.01918, allocations: 127 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.01918, allocations: 0 / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01919, allocations: 4 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01919, allocations: 3.984 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.01974, allocations: 362.9 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01974, allocations: 0 / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.01979, allocations: 15.98 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01979, allocations: 0 / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.0198, allocations: 0 / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.0198, allocations: 4 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.0198, allocations: 0 / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.02012, allocations: 220.2 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.02014, allocations: 19.94 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.02017, allocations: 3.984 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.02025, allocations: 8 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.02029, allocations: 3.984 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.0203, allocations: 4 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002249/0.02053, allocations: 212.5 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02053, allocations: 0 / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002842/0.02081, allocations: 27.94 kB / 384.2 MB, free: 11.73 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.002222/0.02303, allocations: 0.4888 MB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.02324, allocations: 55.97 kB / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.02324, allocations: 4 kB / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.417e-05/0.02333, allocations: 28.08 kB / 384.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.02372, allocations: 43.94 kB / 384.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006309/0.02435, allocations: 306 kB / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.02448, allocations: 108.8 kB / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.869e-05/0.02454, allocations: 16.97 kB / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.02459, allocations: 16.5 kB / 385.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02459, allocations: 4 kB / 385.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of Templates: time 0.005522/0.03011, allocations: 1.878 MB / 387.2 MB, free: 8.977 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.836743963998742]