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.001364/0.001364, 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.002159/0.002159, 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.514/1.514, allocations: 177 MB / 204.1 MB, free: 9.16 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.2431/0.2431, allocations: 34.26 MB / 294.8 MB, free: 14.53 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.Test5,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.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.642e-05/3.84e-05, allocations: 6.219 kB / 442.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003046/0.003085, allocations: 1.614 MB / 444.3 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.004274, allocations: 0.5215 MB / 444.8 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.004338, allocations: 0 / 444.8 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.004667, allocations: 99.61 kB / 444.9 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.00499, allocations: 107.5 kB / 445 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.005277, allocations: 99.62 kB / 445.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.005469, allocations: 83.8 kB / 445.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.203e-05/0.005561, allocations: 12 kB / 445.2 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.652e-05/0.005648, allocations: 51.81 kB / 445.3 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.005753, allocations: 55.86 kB / 445.3 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.005771, allocations: 4 kB / 445.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.005872, allocations: 43.92 kB / 445.4 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.005932, allocations: 19.88 kB / 445.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.005972, allocations: 27.84 kB / 445.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.006168, allocations: 103.6 kB / 445.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.006171, allocations: 0 / 445.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006172, allocations: 4 kB / 445.5 MB, free: 2.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.006178, allocations: 3.984 kB / 445.5 MB, free: 2.426 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.0005173/0.006696, allocations: 341.5 kB / 445.8 MB, free: 2.059 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.006732, allocations: 12.03 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.006769, allocations: 8.891 kB / 445.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.006974, allocations: 161.4 kB / 446 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.006987, allocations: 4.375 kB / 446 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.007009, allocations: 384 / 446 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.007167, allocations: 58.23 kB / 446.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.007181, allocations: 4.172 kB / 446.1 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.007189, allocations: 4.375 kB / 446.1 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.007193, allocations: 384 / 446.1 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.007296, allocations: 31.91 kB / 446.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.007667, allocations: 236.4 kB / 446.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.007787, allocations: 38.56 kB / 446.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/0.007841, allocations: 20.94 kB / 446.4 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.007861, allocations: 0 / 446.4 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.007906, allocations: 46.5 kB / 446.5 MB, free: 1.363 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.007907, allocations: 0 / 446.5 MB, free: 1.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009566/0.008863, allocations: 221.3 kB / 446.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.008908, allocations: 55.34 kB / 446.7 MB, free: 1.074 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.009172, allocations: 238.7 kB / 447 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.009191, allocations: 29.7 kB / 447 MB, free: 0.793 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/0.009275, allocations: 112.1 kB / 447.1 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.009309, allocations: 31.73 kB / 447.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.009351, allocations: 17.72 kB / 447.2 MB, free: 0.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.009509, allocations: 322.8 kB / 447.5 MB, free: 308 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.774e-05/0.009597, allocations: 27.98 kB / 447.5 MB, free: 280 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.009669, allocations: 23.97 kB / 447.5 MB, free: 256 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.009849, allocations: 60.83 kB / 447.6 MB, free: 192 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.00985, allocations: 4 kB / 447.6 MB, free: 188 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002424/0.01009, allocations: 113.4 kB / 447.7 MB, free: 68 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.01011, allocations: 4 kB / 447.7 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01011, allocations: 0 / 447.7 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.01013, allocations: 4 kB / 447.7 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.01023, allocations: 15.98 kB / 447.7 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01024, allocations: 0 / 447.7 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.01029, allocations: 7.984 kB / 447.7 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.0103, allocations: 7.938 kB / 447.7 MB, free: 28 kB / 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.1848/0.1951, allocations: 128.2 kB / 447.9 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.1951, allocations: 17.81 kB / 447.9 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.1955, allocations: 116.7 kB / 448 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.1955, allocations: 1.125 kB / 448 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1955, allocations: 1.844 kB / 448 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1955, allocations: 0 / 448 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.196, allocations: 349.1 kB / 448.3 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.196, allocations: 1.094 kB / 448.3 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-05/0.196, allocations: 21.03 kB / 448.4 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.196, allocations: 3.969 kB / 448.4 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.1961, allocations: 2.047 kB / 448.4 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1961, allocations: 1.281 kB / 448.4 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1961, allocations: 1.797 kB / 448.4 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.1963, allocations: 208.8 kB / 448.6 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.1963, allocations: 14.22 kB / 448.6 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.1964, allocations: 6.875 kB / 448.6 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.1965, allocations: 8.297 kB / 448.6 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.1965, allocations: 9.172 kB / 448.6 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.1965, allocations: 7.984 kB / 448.6 MB, free: 18.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.1966, allocations: 174.9 kB / 448.8 MB, free: 18.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1966, allocations: 0 / 448.8 MB, free: 18.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.1969, allocations: 23.03 kB / 448.8 MB, free: 18.43 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.00181/0.1987, allocations: 469.6 kB / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.199, allocations: 65.7 kB / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.199, allocations: 0 / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.326e-05/0.1991, allocations: 33.38 kB / 449.4 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.1995, allocations: 22.09 kB / 449.4 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.2, allocations: 276.6 kB / 449.7 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.15e-05/0.2001, allocations: 101.3 kB / 449.8 MB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.116e-05/0.2002, allocations: 19 kB / 449.8 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.2002, allocations: 15.05 kB / 449.8 MB, free: 18.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2002, allocations: 96 / 449.8 MB, free: 18.02 MB / 366.1 MB Notification: Performance of Templates: time 0.004543/0.2047, allocations: 1.36 MB / 451.1 MB, free: 17.86 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.076764691621065]