Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001849/0.001849, allocations: 84.56 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002512/0.002512, allocations: 156.8 kB / 23.95 MB, free: 4.168 MB / 14.72 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.485/1.485, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.2197/0.2197, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 442.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.15e-05/4.371e-05, allocations: 4.812 kB / 442.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.004148/0.004192, allocations: 1.599 MB / 444.3 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.005647, allocations: 0.5176 MB / 444.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.005724, allocations: 0 / 444.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.006028, allocations: 19.86 kB / 444.8 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.006422, allocations: 87.55 kB / 444.9 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.00679, allocations: 95 kB / 445 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.007, allocations: 67.78 kB / 445.1 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.007184, allocations: 15.84 kB / 445.1 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.316e-05/0.007277, allocations: 27.92 kB / 445.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.019e-05/0.007367, allocations: 15.91 kB / 445.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.007393, allocations: 4 kB / 445.1 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.007496, allocations: 39.86 kB / 445.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.007569, allocations: 11.94 kB / 445.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.007618, allocations: 19.91 kB / 445.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.007874, allocations: 79.73 kB / 445.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.007878, allocations: 0 / 445.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.007879, allocations: 4 kB / 445.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.007886, allocations: 3.938 kB / 445.3 MB, free: 2.688 MB / 366.1 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.0006906/0.008576, allocations: 309.8 kB / 445.6 MB, free: 2.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.008623, allocations: 12.03 kB / 445.6 MB, free: 2.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.008666, allocations: 4.891 kB / 445.6 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.00888, allocations: 145.5 kB / 445.7 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.008891, allocations: 384 / 445.7 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.008916, allocations: 4.375 kB / 445.7 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.009121, allocations: 50.25 kB / 445.8 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.009134, allocations: 192 / 445.8 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.009147, allocations: 4.375 kB / 445.8 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.009151, allocations: 384 / 445.8 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.009254, allocations: 23.92 kB / 445.8 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.009619, allocations: 220.6 kB / 446 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.009845, allocations: 46.48 kB / 446.1 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.009895, allocations: 8.859 kB / 446.1 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.009918, allocations: 8 kB / 446.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.009952, allocations: 34.56 kB / 446.1 MB, free: 1.719 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 3.026e-06/0.009955, allocations: 3.984 kB / 446.1 MB, free: 1.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005974/0.01055, allocations: 153.3 kB / 446.3 MB, free: 1.559 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.0106, allocations: 51.41 kB / 446.3 MB, free: 1.496 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.0108, allocations: 165 kB / 446.5 MB, free: 1.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.01082, allocations: 25.7 kB / 446.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.01091, allocations: 96.14 kB / 446.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.01094, allocations: 19.83 kB / 446.6 MB, free: 1.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.01098, allocations: 21.72 kB / 446.6 MB, free: 1.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.01113, allocations: 318.8 kB / 447 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.0112, allocations: 19.98 kB / 447 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.01126, allocations: 15.98 kB / 447 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.01141, allocations: 52.77 kB / 447 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.01141, allocations: 0 / 447 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002045/0.01161, allocations: 85.52 kB / 447.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.01163, allocations: 8 kB / 447.1 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.01163, allocations: 0 / 447.1 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.01165, allocations: 0 / 447.1 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/0.01172, allocations: 11.98 kB / 447.1 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.01172, allocations: 4 kB / 447.2 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.1e-05/0.01176, allocations: 4 kB / 447.2 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.01177, allocations: 4 kB / 447.2 MB, free: 0.6211 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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 0.0001084/0.01188, allocations: 121.8 kB / 447.3 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.01192, allocations: 15.89 kB / 447.3 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.01218, allocations: 90.11 kB / 447.4 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.01218, allocations: 0 / 447.4 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.01219, allocations: 8.25 kB / 447.4 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01219, allocations: 0 / 447.4 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.01262, allocations: 302.1 kB / 447.7 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01262, allocations: 0 / 447.7 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.306e-05/0.01268, allocations: 15.98 kB / 447.7 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.01268, allocations: 0 / 447.7 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.0127, allocations: 4 kB / 447.7 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.0127, allocations: 0 / 447.7 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0127, allocations: 0 / 447.7 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2315/0.2442, allocations: 172.5 kB / 447.9 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.2443, allocations: 9.469 kB / 447.9 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.2443, allocations: 8.688 kB / 447.9 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.2444, allocations: 4.156 kB / 447.9 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.2444, allocations: 5.781 kB / 447.9 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.2444, allocations: 3.875 kB / 447.9 MB, free: 18.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.2445, allocations: 126 kB / 448 MB, free: 18.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2445, allocations: 0 / 448 MB, free: 18.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003424/0.2449, allocations: 17.7 kB / 448 MB, free: 18.88 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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.001609/0.2465, allocations: 409.5 kB / 448.4 MB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.2467, allocations: 51.17 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2467, allocations: 0 / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.863e-05/0.2468, allocations: 23.58 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.2472, allocations: 21.64 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004845/0.2477, allocations: 194.1 kB / 448.7 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.27e-05/0.2478, allocations: 80.89 kB / 448.8 MB, free: 18.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.125e-05/0.2478, allocations: 11.83 kB / 448.8 MB, free: 18.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.2478, allocations: 17.23 kB / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2478, allocations: 0 / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of Templates: time 0.00473/0.2526, allocations: 1.15 MB / 450 MB, free: 18.38 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.033649630844593]