Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.001623/0.001623, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.001986/0.001986, allocations: 157.7 kB / 23.51 MB, free: 0.9258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2682/0.2682, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 347 MB, free: 9.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.019e-05, allocations: 2.312 kB / 347 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002176/0.002196, allocations: 1.688 MB / 348.7 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.003668, allocations: 1.474 MB / 350.2 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.003727, allocations: 3.938 kB / 350.2 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.004011, allocations: 43.7 kB / 350.2 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.004238, allocations: 67.61 kB / 350.3 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.004444, allocations: 79.72 kB / 350.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.004587, allocations: 103.7 kB / 350.5 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.577e-05/0.004663, allocations: 8.234 kB / 350.5 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.886e-05/0.004742, allocations: 51.78 kB / 350.5 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.004843, allocations: 35.89 kB / 350.6 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.004863, allocations: 4 kB / 350.6 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.004962, allocations: 59.89 kB / 350.6 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.005009, allocations: 15.94 kB / 350.6 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.005051, allocations: 19.92 kB / 350.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.005232, allocations: 131.5 kB / 350.8 MB, free: 5.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.005235, allocations: 4 kB / 350.8 MB, free: 5.949 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005235, allocations: 0 / 350.8 MB, free: 5.949 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.005239, allocations: 0 / 350.8 MB, free: 5.949 MB / 282.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.0004165/0.005656, allocations: 329.6 kB / 351.1 MB, free: 5.598 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.005685, allocations: 12.03 kB / 351.1 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.005739, allocations: 12.88 kB / 351.1 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.005933, allocations: 145.6 kB / 351.3 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.005947, allocations: 384 / 351.3 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.005971, allocations: 8.359 kB / 351.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.006121, allocations: 101.6 kB / 351.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.006132, allocations: 7.938 kB / 351.4 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.006142, allocations: 0 / 351.4 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.006146, allocations: 0 / 351.4 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.947e-05/0.006215, allocations: 19.98 kB / 351.4 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.006493, allocations: 220.6 kB / 351.6 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.006653, allocations: 62.61 kB / 351.7 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.006705, allocations: 20.8 kB / 351.7 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.006721, allocations: 0 / 351.7 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.006854, allocations: 75.38 kB / 351.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.006855, allocations: 0 / 351.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005308/0.007386, allocations: 185.3 kB / 352 MB, free: 4.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.007428, allocations: 81.11 kB / 352 MB, free: 4.543 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.007542, allocations: 160.8 kB / 352.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.007552, allocations: 25.7 kB / 352.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/0.00758, allocations: 92.14 kB / 352.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.007602, allocations: 27.78 kB / 352.3 MB, free: 4.227 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.007635, allocations: 25.72 kB / 352.4 MB, free: 4.195 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.301e-05/0.007678, allocations: 322.8 kB / 352.7 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.383e-05/0.007732, allocations: 23.98 kB / 352.7 MB, free: 3.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.919e-05/0.007791, allocations: 80.14 kB / 352.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.731e-05/0.007889, allocations: 57.64 kB / 352.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.00789, allocations: 0 / 352.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001589/0.008048, allocations: 117.5 kB / 352.9 MB, free: 3.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.00806, allocations: 4 kB / 353 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.008064, allocations: 0 / 353 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.008082, allocations: 384 / 353 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.881e-05/0.008161, allocations: 20.06 kB / 353 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.008165, allocations: 0 / 353 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.008214, allocations: 15.98 kB / 353 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.008221, allocations: 0 / 353 MB, free: 3.531 MB / 282.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 5.831e-05/0.008279, allocations: 126.7 kB / 353.1 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.008323, allocations: 15.95 kB / 353.1 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.008579, allocations: 118.5 kB / 353.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.008582, allocations: 4 kB / 353.2 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.008585, allocations: 0 / 353.2 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.008589, allocations: 3.984 kB / 353.3 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.008903, allocations: 335 kB / 353.6 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008904, allocations: 4 kB / 353.6 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.008939, allocations: 8 kB / 353.6 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.008942, allocations: 3.984 kB / 353.6 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.008951, allocations: 8 kB / 353.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.008953, allocations: 0 / 353.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008954, allocations: 0 / 353.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.009138, allocations: 216.2 kB / 353.8 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.009153, allocations: 7.953 kB / 353.8 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.009176, allocations: 12.02 kB / 353.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.59e-05/0.009262, allocations: 4 kB / 353.8 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.009298, allocations: 7.984 kB / 353.8 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.009311, allocations: 4 kB / 353.8 MB, free: 2.598 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.621e-05/0.009377, allocations: 123.2 kB / 354 MB, free: 2.477 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009377, allocations: 4 kB / 354 MB, free: 2.473 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002728/0.00965, allocations: 27.94 kB / 354 MB, free: 2.445 MB / 282.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.002155/0.0118, allocations: 0.5376 MB / 354.5 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.01199, allocations: 63.91 kB / 354.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01199, allocations: 0 / 354.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.795e-05/0.01206, allocations: 32.05 kB / 354.6 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.01245, allocations: 33.91 kB / 354.7 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.01289, allocations: 196.6 kB / 354.9 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.406e-05/0.01295, allocations: 91.16 kB / 354.9 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.674e-05/0.01301, allocations: 12.5 kB / 355 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.01306, allocations: 24.55 kB / 355 MB, free: 1.523 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01306, allocations: 0 / 355 MB, free: 1.523 MB / 282.7 MB Notification: Performance of Templates: time 0.005156/0.01821, allocations: 2.126 MB / 357.1 MB, free: 15.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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: 5.136625514016487]