Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001586/0.001586, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.001563/0.001563, allocations: 158.2 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.573/1.573, allocations: 177 MB / 204.1 MB, free: 9.191 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.2116/0.2116, allocations: 34.26 MB / 294.8 MB, free: 14.56 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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 442.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.498e-05, allocations: 2.281 kB / 442.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003019/0.003044, allocations: 1.611 MB / 444.3 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.00419, allocations: 0.5331 MB / 444.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.004266, allocations: 7.938 kB / 444.8 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.004583, allocations: 111.6 kB / 444.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.00496, allocations: 123.5 kB / 445.1 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.005303, allocations: 107.5 kB / 445.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.005507, allocations: 95.73 kB / 445.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.005611, allocations: 11.98 kB / 445.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.005716, allocations: 55.88 kB / 445.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.005841, allocations: 63.86 kB / 445.4 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.005861, allocations: 4 kB / 445.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.005978, allocations: 47.92 kB / 445.4 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.206e-05/0.00604, allocations: 27.86 kB / 445.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.006085, allocations: 23.91 kB / 445.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.006331, allocations: 111.6 kB / 445.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.006332, allocations: 0 / 445.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006333, allocations: 3.938 kB / 445.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.006343, allocations: 0 / 445.6 MB, free: 2.367 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005625/0.006905, allocations: 345.5 kB / 445.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.006945, allocations: 20.02 kB / 446 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.006998, allocations: 12.84 kB / 446 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.007235, allocations: 150.3 kB / 446.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.007242, allocations: 384 / 446.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.007273, allocations: 8.375 kB / 446.1 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.007445, allocations: 58.16 kB / 446.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.00746, allocations: 192 / 446.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.007475, allocations: 4.375 kB / 446.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.00748, allocations: 384 / 446.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.007588, allocations: 31.91 kB / 446.2 MB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.008038, allocations: 256.4 kB / 446.5 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.008177, allocations: 54.47 kB / 446.5 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.008235, allocations: 12.86 kB / 446.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.008255, allocations: 0 / 446.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.008293, allocations: 42.58 kB / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.008294, allocations: 3.938 kB / 446.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001017/0.009311, allocations: 245.2 kB / 446.8 MB, free: 1.023 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.00935, allocations: 51.41 kB / 446.9 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.009636, allocations: 263.5 kB / 447.1 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.009656, allocations: 25.7 kB / 447.2 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.009737, allocations: 112.1 kB / 447.3 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.009774, allocations: 31.73 kB / 447.3 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.009821, allocations: 21.72 kB / 447.3 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.009992, allocations: 326.8 kB / 447.6 MB, free: 168 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.922e-05/0.01009, allocations: 31.97 kB / 447.7 MB, free: 136 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.01017, allocations: 27.98 kB / 447.7 MB, free: 108 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.01036, allocations: 76.75 kB / 447.8 MB, free: 28 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.01036, allocations: 0 / 447.8 MB, free: 28 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.1934/0.2037, allocations: 117.2 kB / 447.9 MB, free: 18.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.2037, allocations: 4.906 kB / 447.9 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2038, allocations: 3.562 kB / 447.9 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.2038, allocations: 0.6562 kB / 447.9 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.2039, allocations: 16.84 kB / 447.9 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.2039, allocations: 2.266 kB / 447.9 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.204, allocations: 4.781 kB / 447.9 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.204, allocations: 4.969 kB / 447.9 MB, free: 18.94 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 (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 0.0001183/0.2041, allocations: 137.6 kB / 448.1 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.2041, allocations: 11.81 kB / 448.1 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.2045, allocations: 138.8 kB / 448.2 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2045, allocations: 1 kB / 448.2 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2045, allocations: 1.062 kB / 448.2 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2045, allocations: 0.5625 kB / 448.2 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.205, allocations: 366.8 kB / 448.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.205, allocations: 1.062 kB / 448.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.637e-05/0.2051, allocations: 17.3 kB / 448.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2051, allocations: 0.5156 kB / 448.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.2051, allocations: 5.219 kB / 448.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2051, allocations: 0 / 448.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2051, allocations: 6.375 kB / 448.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.2054, allocations: 220.2 kB / 448.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.2054, allocations: 9.156 kB / 448.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.2054, allocations: 8.031 kB / 448.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.2055, allocations: 5.625 kB / 448.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.2055, allocations: 14.42 kB / 448.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.2055, allocations: 2.688 kB / 448.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.2057, allocations: 191.5 kB / 449 MB, free: 18.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2057, allocations: 0 / 449 MB, free: 18.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.206, allocations: 20.47 kB / 449.1 MB, free: 18.33 MB / 366.1 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.001831/0.2078, allocations: 483.5 kB / 449.5 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.2081, allocations: 71.34 kB / 449.6 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2081, allocations: 0 / 449.6 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.937e-05/0.2082, allocations: 43.09 kB / 449.6 MB, free: 18.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.2086, allocations: 17.97 kB / 449.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.2091, allocations: 308.4 kB / 450 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.806e-05/0.2092, allocations: 99.72 kB / 450.1 MB, free: 17.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.666e-05/0.2093, allocations: 20.78 kB / 450.1 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.2093, allocations: 23.19 kB / 450.1 MB, free: 17.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2093, allocations: 0 / 450.1 MB, free: 17.88 MB / 366.1 MB Notification: Performance of Templates: time 0.004805/0.2141, allocations: 1.399 MB / 451.5 MB, free: 17.7 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.0049838572740555]