Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.000983/0.000983, allocations: 91.5 kB / 21.19 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.001027/0.001027, allocations: 156.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 0.9809/0.9809, allocations: 177 MB / 204.8 MB, free: 5.609 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.2579/0.2579, allocations: 34.87 MB / 296.3 MB, free: 0.5391 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 3.984 kB / 378.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.764e-05, allocations: 3.297 kB / 378.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002268/0.002296, allocations: 1.755 MB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.003555, allocations: 1.012 MB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.003627, allocations: 0 / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.003905, allocations: 51.62 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.004194, allocations: 95.55 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.004372, allocations: 87.59 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.004519, allocations: 103.6 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.977e-05/0.004608, allocations: 15.98 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.836e-05/0.004687, allocations: 43.84 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.365e-05/0.00476, allocations: 35.83 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.004781, allocations: 4 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.572e-05/0.004867, allocations: 39.94 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.234e-05/0.004919, allocations: 23.92 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.004959, allocations: 23.91 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.005135, allocations: 103.6 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005137, allocations: 7.938 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005138, allocations: 0 / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.005143, allocations: 0 / 382.2 MB, free: 14.56 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.0004596/0.005602, allocations: 451.8 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.005644, allocations: 8.031 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.005698, allocations: 12.89 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.005889, allocations: 160.9 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.005909, allocations: 4.375 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.005937, allocations: 4.359 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.00608, allocations: 62.94 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.00609, allocations: 4.188 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.006102, allocations: 8.297 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.006112, allocations: 7.938 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.617e-05/0.006148, allocations: 8 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.006492, allocations: 283.8 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.00661, allocations: 55.16 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.006645, allocations: 15.62 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.006663, allocations: 4 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.006776, allocations: 72.98 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.006778, allocations: 4 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004409/0.007219, allocations: 161.3 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.007251, allocations: 55.34 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.00739, allocations: 233.9 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.007402, allocations: 29.7 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.007461, allocations: 150.8 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.007487, allocations: 27.78 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.007525, allocations: 31.38 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.007641, allocations: 0.4962 MB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.007666, allocations: 12 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.585e-05/0.007702, allocations: 43.3 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.529e-05/0.007757, allocations: 47.36 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.007758, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001054/0.007864, allocations: 93.5 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.007879, allocations: 8 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.007885, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.007899, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.00797, allocations: 12 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.007977, allocations: 4 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.327e-05/0.00801, allocations: 16.34 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.008017, allocations: 4 kB / 384.8 MB, free: 11.79 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.232e-05/0.008089, allocations: 164.5 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.008105, allocations: 15.89 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.008257, allocations: 99.12 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.008261, allocations: 8 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.008264, allocations: 3.938 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.008268, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.008548, allocations: 393 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.008551, allocations: 11.95 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.008579, allocations: 12 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.008582, allocations: 0 / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.008589, allocations: 0 / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.008591, allocations: 4 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008592, allocations: 0 / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.008744, allocations: 255.4 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.008756, allocations: 11.91 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.008774, allocations: 7.984 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.5e-05/0.008819, allocations: 4 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.008854, allocations: 15.92 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.008865, allocations: 0 / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.029e-05/0.008945, allocations: 184.2 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008945, allocations: 0 / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.009123, allocations: 27.92 kB / 386 MB, free: 10.51 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.0008866/0.01001, allocations: 432.5 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.01013, allocations: 51.55 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.01013, allocations: 4 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/0.01017, allocations: 35.67 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.0104, allocations: 31.97 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.01074, allocations: 233.9 kB / 386.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.415e-05/0.01078, allocations: 67.33 kB / 386.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.001e-05/0.01082, allocations: 21.27 kB / 386.8 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.01085, allocations: 16.5 kB / 386.9 MB, free: 9.699 MB / 362.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01085, allocations: 0 / 386.9 MB, free: 9.699 MB / 362.7 MB Notification: Performance of Templates: time 0.003432/0.01428, allocations: 1.865 MB / 388.7 MB, free: 7.859 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.344275226816535]