Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.001335/0.001335, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001336/0.001336, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.007/1.007, allocations: 177 MB / 204.8 MB, free: 5.605 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.2523/0.2523, allocations: 34.86 MB / 296.3 MB, free: 0.5352 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.831e-05, allocations: 2.312 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002146/0.002165, allocations: 1.76 MB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.003399, allocations: 1.012 MB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.00347, allocations: 0 / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.003778, allocations: 63.62 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004518/0.00423, allocations: 99.53 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.004393, allocations: 83.59 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.004561, allocations: 107.6 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.004666, allocations: 8 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.004755, allocations: 59.81 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.795e-05/0.004833, allocations: 19.92 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.00485, allocations: 8 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.264e-05/0.004933, allocations: 51.91 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.004986, allocations: 23.92 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.005028, allocations: 23.86 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.005206, allocations: 119.5 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005208, allocations: 0 / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005209, allocations: 0 / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.005213, allocations: 0 / 382.3 MB, free: 14.55 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004593/0.005672, allocations: 491.5 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.005708, allocations: 8.031 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.56e-05/0.005753, allocations: 16.84 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.005923, allocations: 164.3 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.005942, allocations: 4.375 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.005964, allocations: 8.312 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.006083, allocations: 62.94 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.006093, allocations: 4.188 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.006102, allocations: 384 / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.006109, allocations: 3.938 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.531e-05/0.006145, allocations: 11.98 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.006454, allocations: 303.8 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.006557, allocations: 55.11 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.006587, allocations: 15.69 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.006602, allocations: 7.938 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.433e-05/0.006697, allocations: 72.97 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.006698, allocations: 0 / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003722/0.00707, allocations: 169.2 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.007101, allocations: 51.41 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.007272, allocations: 280 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.007287, allocations: 29.7 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.007356, allocations: 174.8 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.007383, allocations: 27.78 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.007421, allocations: 27.38 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.007551, allocations: 0.5039 MB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.73e-05/0.007578, allocations: 16 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.501e-05/0.007613, allocations: 31.36 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.966e-05/0.007673, allocations: 51.36 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007674, allocations: 0 / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001127/0.007787, allocations: 93.47 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.0078, allocations: 8.031 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.007808, allocations: 4 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.007824, allocations: 3.984 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.0079, allocations: 15.98 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.007906, allocations: 3.938 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.149e-05/0.007937, allocations: 8 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.007944, allocations: 4 kB / 385 MB, free: 11.64 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 (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 7.646e-05/0.00802, allocations: 156.6 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.008041, allocations: 27.8 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.008199, allocations: 115.2 kB / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.008201, allocations: 0 / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.008204, allocations: 0 / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.008208, allocations: 4.359 kB / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.008494, allocations: 405 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.008498, allocations: 7.984 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.008525, allocations: 12 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.008527, allocations: 0 / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.008536, allocations: 4 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.008539, allocations: 4 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.00854, allocations: 32 / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.00868, allocations: 267.3 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.008693, allocations: 11.91 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.008711, allocations: 7.984 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.09e-05/0.008752, allocations: 4 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.008784, allocations: 7.984 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.008797, allocations: 4 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.36e-05/0.008891, allocations: 203.5 kB / 386.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008891, allocations: 3.938 kB / 386.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001671/0.009058, allocations: 31.92 kB / 386.2 MB, free: 10.3 MB / 362.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.0009065/0.009965, allocations: 424.3 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.01007, allocations: 59.55 kB / 386.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01007, allocations: 0 / 386.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.01011, allocations: 31.66 kB / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.01036, allocations: 35.92 kB / 386.8 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.01073, allocations: 270.5 kB / 387 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.721e-05/0.01078, allocations: 75.33 kB / 387.1 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.552e-05/0.01081, allocations: 21.27 kB / 387.1 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.01084, allocations: 16.5 kB / 387.1 MB, free: 9.457 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01084, allocations: 0 / 387.1 MB, free: 9.457 MB / 362.7 MB Notification: Performance of Templates: time 0.003477/0.01432, allocations: 1.897 MB / 389 MB, free: 7.586 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.242478307336569]