Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001783/0.001783, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.002156/0.002156, allocations: 157.7 kB / 24.27 MB, free: 168 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.56/1.56, allocations: 177.1 MB / 204.6 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3613/0.3613, allocations: 32.79 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 375.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.621e-05/3.894e-05, allocations: 5.547 kB / 375.3 MB, free: 4.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.005111/0.00515, allocations: 1.743 MB / 377.1 MB, free: 3.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.008018, allocations: 0.9782 MB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.008178, allocations: 3.938 kB / 378.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005223/0.0087, allocations: 87.69 kB / 378.2 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006278/0.009328, allocations: 119.4 kB / 378.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.009774, allocations: 87.59 kB / 378.4 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.01014, allocations: 131.6 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.01026, allocations: 8 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.01049, allocations: 71.8 kB / 378.6 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.01067, allocations: 59.86 kB / 378.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.01069, allocations: 4 kB / 378.6 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.0109, allocations: 59.92 kB / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.445e-05/0.01099, allocations: 35.84 kB / 378.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.851e-05/0.01106, allocations: 23.86 kB / 378.7 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.01142, allocations: 131.5 kB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01142, allocations: 0 / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.01142, allocations: 4 kB / 378.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.01143, allocations: 0 / 378.9 MB, free: 1.32 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008172/0.01225, allocations: 373.4 kB / 379.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.01231, allocations: 8.031 kB / 379.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.512e-05/0.01239, allocations: 20.78 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.01283, allocations: 166.2 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.01284, allocations: 384 / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.01288, allocations: 4.375 kB / 379.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.01311, allocations: 66.2 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.01312, allocations: 3.938 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.01314, allocations: 4 kB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.01315, allocations: 4 kB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.01328, allocations: 23.98 kB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/0.01385, allocations: 248.4 kB / 379.8 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.01421, allocations: 62.48 kB / 379.8 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.942e-05/0.0143, allocations: 20.97 kB / 379.9 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.01432, allocations: 4 kB / 379.9 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.01453, allocations: 67.39 kB / 379.9 MB, free: 152 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.01454, allocations: 7.938 kB / 379.9 MB, free: 144 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001218/0.01575, allocations: 265.6 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.01582, allocations: 51.41 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.01622, allocations: 239.6 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.01626, allocations: 25.7 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.01639, allocations: 112.1 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/0.01646, allocations: 35.69 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.01655, allocations: 33.64 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002501/0.0168, allocations: 334.8 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.01692, allocations: 31.98 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.01707, allocations: 45.45 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.01731, allocations: 81.64 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.01731, allocations: 4 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003941/0.0177, allocations: 133.5 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.01772, allocations: 4 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01773, allocations: 0 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.01775, allocations: 4 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.01788, allocations: 28.02 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.01789, allocations: 3.938 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.01797, allocations: 4 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.01799, allocations: 4 kB / 381.3 MB, free: 14.66 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 (13): * Single equations (assignments): 13 * 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.000178/0.01817, allocations: 137.7 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.01822, allocations: 19.91 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/0.01869, allocations: 151.1 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01869, allocations: 0 / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.0187, allocations: 0 / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.01871, allocations: 3.984 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008439/0.01955, allocations: 411.7 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.01956, allocations: 0 / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/0.01964, allocations: 15.98 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.01964, allocations: 0 / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.01965, allocations: 4 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.01966, allocations: 0 / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.966e-06/0.01967, allocations: 7.938 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.02017, allocations: 253 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.02021, allocations: 15.97 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.02025, allocations: 8 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.02039, allocations: 4 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.02045, allocations: 15.92 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.02048, allocations: 7.984 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000271/0.02075, allocations: 175.2 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02075, allocations: 0 / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004973/0.02125, allocations: 31.92 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.003407/0.02466, allocations: 0.5463 MB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003466/0.025, allocations: 79.91 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.02501, allocations: 4 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.02515, allocations: 39.91 kB / 383.3 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006184/0.02577, allocations: 31.97 kB / 383.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008711/0.02664, allocations: 301.9 kB / 383.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.02683, allocations: 113.9 kB / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.02693, allocations: 16.64 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.027, allocations: 16.5 kB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.027, allocations: 0 / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Templates: time 0.008329/0.03533, allocations: 2.129 MB / 385.9 MB, free: 10.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.782034361036494]