Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001062/0.001062, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001094/0.001094, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.08/1.08, allocations: 177 MB / 205.9 MB, free: 4.449 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.16/0.16, allocations: 34.87 MB / 297.4 MB, free: 13.35 MB / 282.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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.873e-05, allocations: 5.938 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003852/0.003881, allocations: 1.633 MB / 381.7 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009289/0.00481, allocations: 0.5485 MB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.654e-05/0.004887, allocations: 11.94 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.005144, allocations: 27.77 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.005437, allocations: 75.58 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.005727, allocations: 115.6 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.0059, allocations: 75.7 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.006005, allocations: 4 kB / 382.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/0.006082, allocations: 43.89 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.006171, allocations: 19.92 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.006189, allocations: 8 kB / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.006366, allocations: 95.81 kB / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.006419, allocations: 19.91 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.006447, allocations: 15.94 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.006699, allocations: 139.5 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.006703, allocations: 0 / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.006705, allocations: 0 / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.006711, allocations: 0 / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004393/0.00715, allocations: 435.8 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.007191, allocations: 12.03 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.007237, allocations: 12.88 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.007411, allocations: 138.3 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.007421, allocations: 384 / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.007441, allocations: 4.375 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.007576, allocations: 100 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.007587, allocations: 192 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.007597, allocations: 4.375 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.007604, allocations: 384 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.761e-05/0.007631, allocations: 11.88 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.007938, allocations: 268.4 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.981e-05/0.008008, allocations: 39.05 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.008031, allocations: 15.67 kB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.008047, allocations: 7.938 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.008068, allocations: 37.39 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.008069, allocations: 0 / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003861/0.008455, allocations: 113.5 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.008485, allocations: 77.11 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.0086, allocations: 201.9 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.008608, allocations: 25.7 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.008648, allocations: 138.9 kB / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.008672, allocations: 35.77 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.008712, allocations: 23.38 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.721e-05/0.00878, allocations: 0.4923 MB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.008799, allocations: 4 kB / 385 MB, free: 17.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.24e-05/0.008841, allocations: 57.05 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.875e-05/0.00889, allocations: 27.69 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.008891, allocations: 3.938 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000102/0.008993, allocations: 65.62 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.009007, allocations: 10.28 kB / 385.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.009013, allocations: 0 / 385.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.009025, allocations: 12.02 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.987e-05/0.009105, allocations: 15.94 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.009109, allocations: 0 / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.009149, allocations: 15.98 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.009156, allocations: 0 / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.822e-05/0.009214, allocations: 160.5 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.009249, allocations: 11.95 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.009383, allocations: 74.62 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.009385, allocations: 0 / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.009387, allocations: 4 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.009391, allocations: 7.984 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.009672, allocations: 314 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.009676, allocations: 7.922 kB / 385.8 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.009727, allocations: 12 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.009729, allocations: 0 / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.009736, allocations: 4 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.009738, allocations: 0 / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.00974, allocations: 4.469 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.00985, allocations: 219.8 kB / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.009863, allocations: 11.89 kB / 386 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.009878, allocations: 4 kB / 386 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.249e-05/0.009941, allocations: 8 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.009968, allocations: 3.984 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.009972, allocations: 0 / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.243e-05/0.01002, allocations: 151.1 kB / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01002, allocations: 0 / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003025/0.01033, allocations: 39.88 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001412/0.01174, allocations: 0.4884 MB / 386.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.01184, allocations: 43.59 kB / 386.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01185, allocations: 0 / 386.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.01187, allocations: 19.67 kB / 386.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.01218, allocations: 25.64 kB / 386.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.0125, allocations: 180.3 kB / 387 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.216e-05/0.01253, allocations: 71.14 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.539e-05/0.01258, allocations: 8.734 kB / 387.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.477e-05/0.01266, allocations: 90.17 kB / 387.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01266, allocations: 0 / 387.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of Templates: time 0.004779/0.01744, allocations: 2.264 MB / 389.4 MB, free: 13.18 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.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.3184837489388883]