Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.0008679/0.0008679, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002212, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007267/0.0007267, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008987/0.001625, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9239/0.9239, allocations: 177.5 MB / 190 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09004/1.014, allocations: 53.88 MB / 243.9 MB, free: 14.82 MB / 250.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.3024/0.3024, allocations: 34.89 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06318/0.3655, allocations: 13.24 MB / 292.8 MB, free: 6.359 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.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 294.1 MB, free: 5.035 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.048e-05, allocations: 2.312 kB / 294.1 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003476/0.003506, allocations: 1.709 MB / 295.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008076/0.004314, allocations: 0.5533 MB / 296.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.992e-05/0.004394, allocations: 4 kB / 296.4 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.004639, allocations: 99.55 kB / 296.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.004891, allocations: 107.5 kB / 296.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.005169, allocations: 99.5 kB / 296.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.005377, allocations: 87.75 kB / 296.8 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.005471, allocations: 8 kB / 296.8 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.005574, allocations: 63.88 kB / 296.8 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.005667, allocations: 51.89 kB / 296.9 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.005683, allocations: 0 / 296.9 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-05/0.005781, allocations: 51.86 kB / 296.9 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.005824, allocations: 19.86 kB / 297 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.005849, allocations: 15.94 kB / 297 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.006005, allocations: 87.67 kB / 297.1 MB, free: 2.074 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.006016, allocations: 0 / 297.1 MB, free: 2.074 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006017, allocations: 0 / 297.1 MB, free: 2.074 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.006027, allocations: 3.938 kB / 297.1 MB, free: 2.07 MB / 282.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.0004086/0.006435, allocations: 333 kB / 297.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.006469, allocations: 16.92 kB / 297.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.006503, allocations: 16.88 kB / 297.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.006642, allocations: 141.6 kB / 297.6 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.00665, allocations: 4.375 kB / 297.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.006672, allocations: 4.375 kB / 297.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.372e-05/0.006766, allocations: 54.94 kB / 297.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.006773, allocations: 4.188 kB / 297.6 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.00678, allocations: 4.375 kB / 297.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.006784, allocations: 384 / 297.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.223e-05/0.006806, allocations: 15.92 kB / 297.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.007013, allocations: 175 kB / 297.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.31e-05/0.007066, allocations: 38.62 kB / 297.9 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.00708, allocations: 8.859 kB / 297.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.87e-05/0.007098, allocations: 0 / 297.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.007119, allocations: 34.56 kB / 297.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.00712, allocations: 0 / 297.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005023/0.007622, allocations: 149.4 kB / 298.1 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.00765, allocations: 55.41 kB / 298.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.007766, allocations: 188.3 kB / 298.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.007779, allocations: 29.64 kB / 298.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.00782, allocations: 104 kB / 298.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.007848, allocations: 23.83 kB / 298.4 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.007881, allocations: 21.72 kB / 298.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.007976, allocations: 326.8 kB / 298.8 MB, free: 208 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.007993, allocations: 7.984 kB / 298.8 MB, free: 200 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.008006, allocations: 4 kB / 298.8 MB, free: 196 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.902e-05/0.008045, allocations: 28.83 kB / 298.8 MB, free: 164 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.008046, allocations: 0 / 298.8 MB, free: 164 kB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.056e-05/0.008116, allocations: 65.55 kB / 298.9 MB, free: 92 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.008128, allocations: 8 kB / 298.9 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.008132, allocations: 0 / 298.9 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.008146, allocations: 0 / 298.9 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.008221, allocations: 19.98 kB / 298.9 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.008224, allocations: 0 / 298.9 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.008243, allocations: 7.938 kB / 298.9 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.008249, allocations: 4 kB / 298.9 MB, free: 52 kB / 282.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 7.48e-05/0.008324, allocations: 108.7 kB / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.008346, allocations: 15.92 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.008462, allocations: 75.45 kB / 299.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.008466, allocations: 11.98 kB / 299.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.008468, allocations: 0 / 299.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.008473, allocations: 3.984 kB / 299.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.008742, allocations: 251.9 kB / 299.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.008746, allocations: 4 kB / 299.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/0.008798, allocations: 19.98 kB / 299.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.008808, allocations: 11.91 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.008811, allocations: 0 / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.008818, allocations: 4 kB / 299.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.008821, allocations: 4.078 kB / 299.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.008825, allocations: 11.95 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.047e-05/0.008915, allocations: 160.3 kB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.008925, allocations: 0 / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.733e-05/0.008962, allocations: 11.98 kB / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.008989, allocations: 4 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.008992, allocations: 3.938 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.761e-05/0.00904, allocations: 60.69 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00904, allocations: 0 / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.009181, allocations: 23.98 kB / 299.7 MB, free: 15.21 MB / 298.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.00132/0.0105, allocations: 0.6076 MB / 300.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.0106, allocations: 32.83 kB / 300.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.01061, allocations: 4 kB / 300.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.01065, allocations: 28.78 kB / 300.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.01088, allocations: 90.83 kB / 300.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.01141, allocations: 243.8 kB / 300.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.757e-05/0.01146, allocations: 67.34 kB / 300.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.14e-05/0.0115, allocations: 17.17 kB / 300.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.01156, allocations: 63.47 kB / 300.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01156, allocations: 0 / 300.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of Templates: time 0.003154/0.01471, allocations: 1.501 MB / 302.3 MB, free: 12.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.943723508156836]