Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.001385/0.001385, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001304/0.001304, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.002/1.002, allocations: 177 MB / 205.2 MB, free: 5.523 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.3038/0.3038, allocations: 34.87 MB / 296.6 MB, free: 444 kB / 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.12e-07/9.12e-07, allocations: 0 / 378.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.237e-05/1.329e-05, allocations: 2.312 kB / 378.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.001842/0.001856, allocations: 1.752 MB / 380.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.002955, allocations: 1.012 MB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.003014, allocations: 3.938 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.003208, allocations: 39.77 kB / 381.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.003408, allocations: 99.47 kB / 381.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.003522, allocations: 71.67 kB / 381.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.003643, allocations: 111.6 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.02e-05/0.003703, allocations: 7.984 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.54e-05/0.003769, allocations: 55.83 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.227e-05/0.003821, allocations: 27.92 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.003832, allocations: 4 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.003893, allocations: 47.91 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.003932, allocations: 27.86 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.003965, allocations: 19.92 kB / 382.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.004096, allocations: 91.66 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004097, allocations: 0 / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004098, allocations: 3.938 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.004101, allocations: 0 / 382.2 MB, free: 14.92 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.0003623/0.004463, allocations: 439.9 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.004494, allocations: 16.02 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.004532, allocations: 16.89 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.004674, allocations: 154.5 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.004689, allocations: 4.375 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.004702, allocations: 384 / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.962e-05/0.004801, allocations: 66.94 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.004809, allocations: 192 / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.004817, allocations: 4.359 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.004825, allocations: 3.938 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.246e-05/0.004858, allocations: 15.98 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.005106, allocations: 275.8 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.086e-05/0.005196, allocations: 63.09 kB / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.005227, allocations: 15.69 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.005237, allocations: 0 / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.721e-05/0.005324, allocations: 68.98 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.005325, allocations: 0 / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000331/0.005656, allocations: 169.3 kB / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.005685, allocations: 51.41 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.005808, allocations: 222.6 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.005822, allocations: 37.64 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.005875, allocations: 150.9 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.005901, allocations: 27.78 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.005932, allocations: 31.31 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.006046, allocations: 0.4923 MB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/0.006069, allocations: 15.98 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.006103, allocations: 31.31 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.603e-05/0.006159, allocations: 51.36 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.00616, allocations: 0 / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001055/0.006266, allocations: 105.5 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.006276, allocations: 4 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.006281, allocations: 0 / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.006292, allocations: 0 / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.006356, allocations: 23.92 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.006362, allocations: 0 / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.006387, allocations: 0 / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.006394, allocations: 4 kB / 384.7 MB, free: 12.18 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.787e-05/0.006472, allocations: 160.6 kB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.00649, allocations: 20.25 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.006628, allocations: 103.1 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.006631, allocations: 4 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.006634, allocations: 0 / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.00664, allocations: 7.984 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.006906, allocations: 389 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.006907, allocations: 0 / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.006931, allocations: 12 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.006933, allocations: 0 / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.006941, allocations: 4 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.006942, allocations: 0 / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006943, allocations: 4.031 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.007076, allocations: 259.4 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.007088, allocations: 15.89 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.00711, allocations: 8 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.825e-05/0.007148, allocations: 0 / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.007174, allocations: 11.92 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.007187, allocations: 4 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.743e-05/0.007254, allocations: 163.9 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007254, allocations: 0 / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001659/0.00742, allocations: 27.92 kB / 385.9 MB, free: 10.92 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.0009335/0.008354, allocations: 435.2 kB / 386.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.008459, allocations: 51.55 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.00846, allocations: 0 / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.008498, allocations: 31.67 kB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.008716, allocations: 43.83 kB / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.009003, allocations: 218.2 kB / 386.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.737e-05/0.00904, allocations: 71.47 kB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.615e-05/0.009076, allocations: 17.27 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.009104, allocations: 20.5 kB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009105, allocations: 0 / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of Templates: time 0.003084/0.01219, allocations: 1.86 MB / 388.6 MB, free: 8.285 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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.2590676660183817]