Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001522/0.001522, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002099/0.002099, allocations: 161 kB / 24.91 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.118/1.118, allocations: 177 MB / 205.2 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2769/0.2769, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.308e-05, allocations: 8.078 kB / 326.1 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003288/0.003311, allocations: 1.828 MB / 327.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.005016, allocations: 1.009 MB / 328.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.623e-05/0.005102, allocations: 3.938 kB / 328.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.005436, allocations: 51.69 kB / 328.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.005786, allocations: 95.48 kB / 329 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.005983, allocations: 83.66 kB / 329.1 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.006188, allocations: 135.5 kB / 329.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.006294, allocations: 15.97 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.006414, allocations: 71.81 kB / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.006531, allocations: 35.89 kB / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.006558, allocations: 8 kB / 329.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.006681, allocations: 67.84 kB / 329.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.21e-05/0.006743, allocations: 31.91 kB / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.00679, allocations: 23.86 kB / 329.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.007005, allocations: 127.6 kB / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.007008, allocations: 4 kB / 329.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007009, allocations: 0 / 329.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.007014, allocations: 0 / 329.6 MB, free: 3.43 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004713/0.007485, allocations: 353.3 kB / 330 MB, free: 3.059 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.007532, allocations: 12.03 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.007573, allocations: 4.938 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.007765, allocations: 154 kB / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.007783, allocations: 4.375 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.007804, allocations: 4.375 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.007953, allocations: 77.69 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.007967, allocations: 12.12 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.007978, allocations: 4.375 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.007986, allocations: 3.938 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.202e-05/0.008038, allocations: 15.98 kB / 330.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.008343, allocations: 185.9 kB / 330.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.008545, allocations: 109.3 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.374e-05/0.008569, allocations: 12.86 kB / 330.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.008582, allocations: 4 kB / 330.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.677e-05/0.008679, allocations: 70.2 kB / 330.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.008681, allocations: 7.984 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004341/0.009115, allocations: 193.3 kB / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.009147, allocations: 51.41 kB / 330.9 MB, free: 2.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.009262, allocations: 180.4 kB / 331.1 MB, free: 1.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.009277, allocations: 25.7 kB / 331.1 MB, free: 1.832 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/0.00931, allocations: 100.3 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.009345, allocations: 43.67 kB / 331.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.009379, allocations: 29.7 kB / 331.3 MB, free: 1.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.009472, allocations: 334.8 kB / 331.6 MB, free: 1.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.009493, allocations: 18.77 kB / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.009528, allocations: 40.3 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.327e-05/0.009592, allocations: 59.34 kB / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.009593, allocations: 0 / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.611e-05/0.009689, allocations: 101.5 kB / 331.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.009699, allocations: 4 kB / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.009705, allocations: 0 / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.009721, allocations: 4 kB / 331.8 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.163e-05/0.009782, allocations: 23.98 kB / 331.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.009785, allocations: 32 / 331.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.009811, allocations: 7.938 kB / 331.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.00982, allocations: 8 kB / 331.8 MB, free: 1.035 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 (15): * Single equations (assignments): 15 * 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 6.75e-05/0.009887, allocations: 124.6 kB / 332 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.009902, allocations: 11.94 kB / 332 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.01004, allocations: 115 kB / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.01004, allocations: 0 / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01005, allocations: 4 kB / 332.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01005, allocations: 0 / 332.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.01032, allocations: 352.2 kB / 332.4 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01032, allocations: 4 kB / 332.4 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.01037, allocations: 16 kB / 332.5 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.01038, allocations: 7.984 kB / 332.5 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.01038, allocations: 4 kB / 332.5 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.01039, allocations: 4 kB / 332.5 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01039, allocations: 0 / 332.5 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.01052, allocations: 248.1 kB / 332.7 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.01053, allocations: 23.89 kB / 332.7 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.01055, allocations: 0 / 332.7 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.309e-05/0.01059, allocations: 12.06 kB / 332.7 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.01062, allocations: 7.984 kB / 332.8 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.01064, allocations: 7.984 kB / 332.8 MB, free: 44 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.179e-05/0.01069, allocations: 60.62 kB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01069, allocations: 4 kB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001564/0.01084, allocations: 35.94 kB / 332.9 MB, free: 15.94 MB / 314.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 (16): * Single equations (assignments): 14 * 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.001571/0.01241, allocations: 0.6425 MB / 333.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.01256, allocations: 56.78 kB / 333.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.01256, allocations: 4 kB / 333.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/0.01262, allocations: 36.78 kB / 333.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.01284, allocations: 35.97 kB / 333.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.0132, allocations: 272.3 kB / 333.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.523e-05/0.01326, allocations: 71.83 kB / 334 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.462e-05/0.01332, allocations: 29.66 kB / 334 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.467e-05/0.01341, allocations: 71.36 kB / 334.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01341, allocations: 0 / 334.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of Templates: time 0.004156/0.01756, allocations: 2.595 MB / 336.7 MB, free: 12.42 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.202705501113087]