Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.00102/0.00102, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.0009494/0.0009494, allocations: 156.5 kB / 24.55 MB, free: 16 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.9999/0.9999, allocations: 177 MB / 204.8 MB, free: 5.602 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.2554/0.2554, allocations: 34.87 MB / 296.3 MB, free: 0.5508 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.064e-05, allocations: 3.016 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002561/0.002592, allocations: 1.955 MB / 380.8 MB, free: 64 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.003956, allocations: 1.05 MB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.004065, allocations: 7.938 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.004375, allocations: 43.64 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.004705, allocations: 107.4 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.004929, allocations: 103.6 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.005131, allocations: 147.5 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.005233, allocations: 21.8 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.005337, allocations: 71.81 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.154e-05/0.005429, allocations: 39.83 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.00545, allocations: 8 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.411e-05/0.005544, allocations: 47.92 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.131e-05/0.005615, allocations: 35.83 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.005675, allocations: 27.88 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.005917, allocations: 131.5 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.005919, allocations: 0 / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.00592, allocations: 0 / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.005926, allocations: 0 / 382.6 MB, free: 14.23 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006183/0.006544, allocations: 0.4974 MB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.006588, allocations: 8.031 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.684e-05/0.006655, allocations: 28.78 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.00686, allocations: 173.1 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.006879, allocations: 4.375 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.006903, allocations: 16.36 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.007097, allocations: 139.6 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.007105, allocations: 192 / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.007116, allocations: 384 / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.007125, allocations: 7.938 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/0.007179, allocations: 31.97 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.007678, allocations: 0.5833 MB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.007888, allocations: 87.08 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.007926, allocations: 23.67 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.00794, allocations: 4 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.008066, allocations: 98.69 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.008068, allocations: 0 / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002225/0.00829, allocations: 113.5 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.008319, allocations: 51.41 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.008462, allocations: 247.1 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.008478, allocations: 37.62 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.008558, allocations: 166.8 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.008578, allocations: 31.75 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.008617, allocations: 35.36 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.008728, allocations: 0.5 MB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.184e-05/0.00876, allocations: 11.98 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.343e-05/0.008814, allocations: 65.42 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.21e-05/0.008896, allocations: 78.38 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008898, allocations: 0 / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001362/0.009034, allocations: 117.5 kB / 385.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.009048, allocations: 10.66 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.009054, allocations: 0 / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.009067, allocations: 0 / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.009138, allocations: 31.92 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.009143, allocations: 0 / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.693e-05/0.00918, allocations: 15.92 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.009188, allocations: 4 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.4e-05/0.009272, allocations: 172.6 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.009292, allocations: 23.84 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.00945, allocations: 103.1 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.009453, allocations: 4 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.009456, allocations: 0 / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.00946, allocations: 0 / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.009574, allocations: 164.5 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.009576, allocations: 4 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.00963, allocations: 11.98 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.009633, allocations: 0 / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.009644, allocations: 8 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.009645, allocations: 0 / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.009647, allocations: 0 / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.009829, allocations: 164.2 kB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.668e-05/0.009846, allocations: 15.84 kB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.009863, allocations: 0 / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.872e-05/0.009892, allocations: 4 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.009931, allocations: 11.98 kB / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.009946, allocations: 11.98 kB / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.87e-05/0.01002, allocations: 171.2 kB / 386.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01002, allocations: 0 / 386.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001681/0.01019, allocations: 32.02 kB / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.000837/0.01103, allocations: 380 kB / 387.1 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.01118, allocations: 67.59 kB / 387.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01118, allocations: 0 / 387.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.01123, allocations: 35.61 kB / 387.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.01146, allocations: 44.22 kB / 387.2 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.01188, allocations: 250 kB / 387.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.756e-05/0.01191, allocations: 67.84 kB / 387.5 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.144e-05/0.01197, allocations: 25.66 kB / 387.5 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.012, allocations: 20.48 kB / 387.6 MB, free: 8.98 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.012, allocations: 0 / 387.6 MB, free: 8.98 MB / 362.7 MB Notification: Performance of Templates: time 0.004066/0.01607, allocations: 2.196 MB / 389.8 MB, free: 6.816 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.1502036629244685]