Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001336/0.001336, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001496/0.001496, allocations: 171.5 kB / 24.91 MB, free: 8.77 MB / 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.9859/0.9859, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.258/0.258, allocations: 32.82 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.881e-05, allocations: 6.312 kB / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003797/0.003826, allocations: 1.756 MB / 325.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.005646, allocations: 1.01 MB / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.038e-05/0.005737, allocations: 4 kB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.00604, allocations: 39.7 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004253/0.006465, allocations: 95.47 kB / 326.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.006781, allocations: 79.67 kB / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.006998, allocations: 115.6 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.486e-05/0.007093, allocations: 5.375 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.00723, allocations: 51.84 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.00732, allocations: 31.89 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.00734, allocations: 4 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.007451, allocations: 47.86 kB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.666e-05/0.007508, allocations: 27.84 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.013e-05/0.007548, allocations: 15.94 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.007761, allocations: 95.66 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.007765, allocations: 0 / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.007766, allocations: 4 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.00777, allocations: 0 / 326.7 MB, free: 6.219 MB / 298.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.0005289/0.008299, allocations: 329.3 kB / 327 MB, free: 5.875 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.008343, allocations: 8.031 kB / 327 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.00839, allocations: 8.922 kB / 327 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.0086, allocations: 151.4 kB / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.008621, allocations: 4.375 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.008645, allocations: 4.375 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.008785, allocations: 61.77 kB / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.008798, allocations: 7.938 kB / 327.2 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.008808, allocations: 8 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.008815, allocations: 3.984 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.078e-05/0.008846, allocations: 4 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.009132, allocations: 165.9 kB / 327.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.009266, allocations: 89.34 kB / 327.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.009295, allocations: 8.859 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.009313, allocations: 4 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.009434, allocations: 58.16 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.009436, allocations: 0 / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004014/0.009837, allocations: 121.5 kB / 327.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.009882, allocations: 55.41 kB / 327.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.01004, allocations: 180.8 kB / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.01006, allocations: 29.7 kB / 328 MB, free: 4.805 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.01013, allocations: 88.12 kB / 328 MB, free: 4.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.01017, allocations: 27.77 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.01022, allocations: 25.66 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.01034, allocations: 326.8 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.01038, allocations: 14.81 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.927e-05/0.01042, allocations: 25.7 kB / 328.5 MB, free: 4.281 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.051e-05/0.01049, allocations: 52.58 kB / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01049, allocations: 0 / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001172/0.01061, allocations: 72.38 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.01062, allocations: 4 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.01063, allocations: 0 / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.01064, allocations: 0 / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.271e-05/0.01072, allocations: 15.94 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.01072, allocations: 7.938 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.01077, allocations: 7.984 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.01078, allocations: 8.031 kB / 328.6 MB, free: 4.102 MB / 298.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 8.633e-05/0.01086, allocations: 116.7 kB / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.01089, allocations: 19.91 kB / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.01104, allocations: 71.08 kB / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01104, allocations: 4 kB / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01104, allocations: 384 / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01105, allocations: 0 / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.01135, allocations: 295.4 kB / 329.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01135, allocations: 8 kB / 329.1 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.01139, allocations: 12.03 kB / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.0114, allocations: 0 / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.01141, allocations: 0 / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01141, allocations: 4 kB / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01141, allocations: 0 / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.01157, allocations: 223 kB / 329.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.01159, allocations: 7.953 kB / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.01161, allocations: 0 / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.01168, allocations: 8 kB / 329.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.01171, allocations: 7.984 kB / 329.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.01173, allocations: 4 kB / 329.4 MB, free: 3.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.516e-05/0.01179, allocations: 51.64 kB / 329.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01179, allocations: 0 / 329.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002676/0.01206, allocations: 31.92 kB / 329.5 MB, free: 3.184 MB / 298.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.002069/0.01413, allocations: 0.5757 MB / 330 MB, free: 2.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.01425, allocations: 44.83 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.01426, allocations: 0 / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.238e-05/0.0143, allocations: 24.78 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.01456, allocations: 35.86 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.01499, allocations: 215.7 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.5e-05/0.01504, allocations: 75.27 kB / 330.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.262e-05/0.0151, allocations: 21.41 kB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.01518, allocations: 67.36 kB / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of SimCode: time 1.322e-06/0.01518, allocations: 0 / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of Templates: time 0.005147/0.02033, allocations: 2.016 MB / 332.5 MB, free: 400 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.0366032128222287]