Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001554/0.001554, allocations: 84.34 kB / 22.22 MB, free: 2.281 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.001661/0.001661, allocations: 159.9 kB / 25.61 MB, free: 8.539 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 0.9972/0.9972, allocations: 177 MB / 205.9 MB, free: 4.434 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.1687/0.1687, allocations: 34.88 MB / 297.4 MB, free: 13.33 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.76e-05/3.969e-05, allocations: 2.312 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003785/0.003824, allocations: 1.651 MB / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.005014, allocations: 0.5407 MB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.005126, allocations: 0 / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.005479, allocations: 79.69 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004066/0.005886, allocations: 103.5 kB / 382.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.006322, allocations: 115.6 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.006569, allocations: 79.81 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.0067, allocations: 15.98 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.006806, allocations: 51.83 kB / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.006934, allocations: 51.92 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.006953, allocations: 4 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.007075, allocations: 47.86 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.03e-05/0.007145, allocations: 19.88 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.007183, allocations: 23.91 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.007399, allocations: 83.67 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.007404, allocations: 0 / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.007406, allocations: 4 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.007412, allocations: 4 kB / 382.9 MB, free: 19.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005065/0.007918, allocations: 443.8 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.007969, allocations: 8.031 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.008025, allocations: 16.84 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.008215, allocations: 150.5 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.008231, allocations: 4.375 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.008255, allocations: 4.375 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.008401, allocations: 54.95 kB / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.008417, allocations: 192 / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.008427, allocations: 384 / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.008433, allocations: 4.375 kB / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.238e-05/0.008465, allocations: 15.92 kB / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.008794, allocations: 272.3 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.57e-05/0.00887, allocations: 43.03 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.00889, allocations: 7.688 kB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.00891, allocations: 4 kB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.008931, allocations: 37.39 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.008933, allocations: 0 / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000721/0.009654, allocations: 165.4 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.0097, allocations: 51.41 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.009836, allocations: 230.8 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.009848, allocations: 29.7 kB / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.00992, allocations: 158.8 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.009967, allocations: 31.73 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.01002, allocations: 27.36 kB / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.01013, allocations: 0.4962 MB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.321e-05/0.01016, allocations: 7.984 kB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.01018, allocations: 4 kB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.904e-05/0.01024, allocations: 35.61 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.01024, allocations: 4 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001251/0.01037, allocations: 77.52 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.01039, allocations: 11.98 kB / 385.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.0104, allocations: 0 / 385.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.01041, allocations: 0 / 385.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01052, allocations: 12 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.01052, allocations: 320 / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.832e-05/0.01055, allocations: 7.984 kB / 385.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.01056, allocations: 0 / 385.3 MB, free: 17.26 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 6.723e-05/0.01062, allocations: 160.6 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.01066, allocations: 20.27 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.01082, allocations: 91.05 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.01083, allocations: 4 kB / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.01083, allocations: 11.97 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01084, allocations: 0 / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.01119, allocations: 341.6 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.01119, allocations: 4 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.01126, allocations: 15.98 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.01126, allocations: 0 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.01127, allocations: 4.031 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01127, allocations: 4 kB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.01128, allocations: 0 / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.01143, allocations: 243.4 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.01145, allocations: 7.906 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.01147, allocations: 4 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/0.01153, allocations: 0 / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.01157, allocations: 7.984 kB / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.01158, allocations: 8 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.483e-05/0.01165, allocations: 159.1 kB / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01165, allocations: 4 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002748/0.01192, allocations: 23.94 kB / 386.4 MB, free: 16.09 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001395/0.01332, allocations: 437.5 kB / 386.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.01345, allocations: 39.66 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01346, allocations: 0 / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.64e-05/0.01349, allocations: 31.61 kB / 386.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.01382, allocations: 19.92 kB / 386.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.01426, allocations: 235.8 kB / 387.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.121e-05/0.01431, allocations: 79.19 kB / 387.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.197e-05/0.01437, allocations: 8.734 kB / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.01443, allocations: 82.19 kB / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01443, allocations: 0 / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of Templates: time 0.004213/0.01864, allocations: 1.564 MB / 388.8 MB, free: 13.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.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.3259026180021465]