Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.00113/0.00113, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001196/0.001196, allocations: 161 kB / 24.55 MB, free: 16 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 0.954/0.954, allocations: 177.1 MB / 205 MB, free: 5.246 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.2969/0.2969, allocations: 34.26 MB / 295.7 MB, free: 0.6523 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 3.938 kB / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.688e-05/3.888e-05, allocations: 2.312 kB / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002754/0.002792, allocations: 1.961 MB / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.0041, allocations: 1.048 MB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.004198, allocations: 0 / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.00451, allocations: 51.58 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.0048, allocations: 103.4 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.004993, allocations: 95.58 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.005171, allocations: 147.5 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.005266, allocations: 17.8 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.378e-05/0.005359, allocations: 79.75 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.347e-05/0.005443, allocations: 43.83 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.00546, allocations: 8 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.024e-05/0.005541, allocations: 51.91 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.005596, allocations: 27.86 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.005646, allocations: 27.91 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.005838, allocations: 131.4 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.00584, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005841, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.005846, allocations: 0 / 381.9 MB, free: 14.77 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004769/0.006322, allocations: 0.5013 MB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.006355, allocations: 12.03 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.006405, allocations: 24.8 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.006605, allocations: 173.1 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.006621, allocations: 384 / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.006648, allocations: 12.38 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.006822, allocations: 139.7 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.00683, allocations: 3.938 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.006841, allocations: 7.938 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006848, allocations: 0 / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.262e-05/0.0069, allocations: 35.97 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.007334, allocations: 0.5872 MB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.007516, allocations: 71.16 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.00755, allocations: 19.69 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.007569, allocations: 4 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.007679, allocations: 102.7 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.254e-06/0.007681, allocations: 4 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001985/0.00788, allocations: 109.5 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.007904, allocations: 51.41 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.008043, allocations: 247.1 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.008057, allocations: 33.7 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.008128, allocations: 166.8 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.008149, allocations: 31.73 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.008186, allocations: 31.38 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.008299, allocations: 0.5039 MB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.621e-05/0.008325, allocations: 8 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.682e-05/0.008372, allocations: 70.36 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.465e-05/0.008447, allocations: 90.34 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.00845, allocations: 4 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001263/0.008576, allocations: 109.5 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.008588, allocations: 11.94 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.008592, allocations: 0 / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.008608, allocations: 8.125 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.008671, allocations: 23.92 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.008676, allocations: 0 / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.00871, allocations: 15.94 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.008717, allocations: 4 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.164e-05/0.008788, allocations: 164.5 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.008806, allocations: 19.89 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.008953, allocations: 107.1 kB / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.008956, allocations: 4 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.008959, allocations: 4 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.008963, allocations: 0 / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.00907, allocations: 164.5 kB / 385.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.009071, allocations: 0 / 385.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.009116, allocations: 11.94 kB / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.009118, allocations: 0 / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.009127, allocations: 4 kB / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.009134, allocations: 3.984 kB / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.009136, allocations: 3.984 kB / 385.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.009308, allocations: 156.8 kB / 385.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.009325, allocations: 19.84 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.009341, allocations: 8.016 kB / 385.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.681e-05/0.009367, allocations: 4 kB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.009404, allocations: 11.98 kB / 385.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.009416, allocations: 4 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.438e-05/0.0095, allocations: 171.1 kB / 385.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0095, allocations: 0 / 385.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001614/0.009662, allocations: 24 kB / 385.9 MB, free: 10.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007985/0.01046, allocations: 396 kB / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.01058, allocations: 67.53 kB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01059, allocations: 0 / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.171e-05/0.01063, allocations: 31.61 kB / 386.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.01082, allocations: 48.72 kB / 386.5 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.01118, allocations: 254 kB / 386.7 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.043e-05/0.01122, allocations: 71.83 kB / 386.8 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.297e-05/0.01127, allocations: 13.48 kB / 386.8 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.0113, allocations: 16.5 kB / 386.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0113, allocations: 0 / 386.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of Templates: time 0.003683/0.01498, allocations: 2.069 MB / 388.9 MB, free: 7.508 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.301405221223831]