Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.001712/0.001712, allocations: 88.75 kB / 20.68 MB, free: 1.02 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.00206/0.00206, allocations: 158 kB / 23.95 MB, free: 4.152 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.49/1.49, allocations: 177 MB / 204.1 MB, free: 9.152 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.3366/0.3366, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 442.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.595e-05, allocations: 2.281 kB / 442.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003047/0.003073, allocations: 1.716 MB / 444.5 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.004992, allocations: 0.9813 MB / 445.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.005061, allocations: 4 kB / 445.4 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.00537, allocations: 43.75 kB / 445.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.005708, allocations: 103.5 kB / 445.6 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.005929, allocations: 87.53 kB / 445.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.006121, allocations: 107.7 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.882e-05/0.00622, allocations: 8 kB / 445.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.006337, allocations: 55.78 kB / 445.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.59e-05/0.006423, allocations: 31.89 kB / 445.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.006446, allocations: 4 kB / 445.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.853e-05/0.006545, allocations: 39.98 kB / 445.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.855e-05/0.006613, allocations: 27.86 kB / 445.9 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.006664, allocations: 19.92 kB / 446 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.006913, allocations: 139.5 kB / 446.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.006915, allocations: 0 / 446.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.006916, allocations: 0 / 446.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.006925, allocations: 4 kB / 446.1 MB, free: 1.809 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006234/0.007548, allocations: 369.3 kB / 446.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.007581, allocations: 8.031 kB / 446.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.007631, allocations: 16.84 kB / 446.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.007908, allocations: 162.4 kB / 446.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.007919, allocations: 8.312 kB / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.007946, allocations: 4.359 kB / 446.7 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.00811, allocations: 54.23 kB / 446.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.008122, allocations: 4.188 kB / 446.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.008132, allocations: 4.375 kB / 446.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.008138, allocations: 3.938 kB / 446.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.865e-05/0.008216, allocations: 19.98 kB / 446.7 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.008608, allocations: 248.5 kB / 447 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.008796, allocations: 66.66 kB / 447.1 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.008854, allocations: 20.84 kB / 447.1 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.008865, allocations: 0 / 447.1 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.009049, allocations: 75.27 kB / 447.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.009051, allocations: 0 / 447.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005908/0.009641, allocations: 189.2 kB / 447.3 MB, free: 468 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.009693, allocations: 55.41 kB / 447.4 MB, free: 400 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.009999, allocations: 283 kB / 447.7 MB, free: 108 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.01002, allocations: 25.7 kB / 447.7 MB, free: 76 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1851/0.1952, allocations: 114 kB / 447.8 MB, free: 19.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.1952, allocations: 24.16 kB / 447.8 MB, free: 19.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.1953, allocations: 22.31 kB / 447.8 MB, free: 19.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.1953, allocations: 329 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.546e-05/0.1954, allocations: 19.3 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.1955, allocations: 39.77 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.1956, allocations: 62.41 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1956, allocations: 1.438 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000244/0.1959, allocations: 113.8 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1959, allocations: 6.172 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1959, allocations: 4.75 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1959, allocations: 1.062 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.196, allocations: 17.8 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.196, allocations: 1.219 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.525e-05/0.1961, allocations: 2.969 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1961, allocations: 4.031 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.311e-05/0.1962, allocations: 140.3 kB / 448.6 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.1962, allocations: 18.38 kB / 448.6 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.1965, allocations: 123.9 kB / 448.7 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1965, allocations: 8.594 kB / 448.7 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1965, allocations: 5.578 kB / 448.7 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1965, allocations: 0 / 448.7 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.197, allocations: 361.6 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.197, allocations: 1.062 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.197, allocations: 9.688 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.197, allocations: 5.703 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.197, allocations: 7.438 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.197, allocations: 4.906 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.197, allocations: 0.7031 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.1973, allocations: 219.6 kB / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.1973, allocations: 18.23 kB / 449.3 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.1973, allocations: 1.828 kB / 449.3 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.1974, allocations: 6.875 kB / 449.3 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.1974, allocations: 9.922 kB / 449.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1974, allocations: 4.219 kB / 449.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.1976, allocations: 210.6 kB / 449.6 MB, free: 18.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1976, allocations: 3.938 kB / 449.6 MB, free: 18.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.1979, allocations: 26.45 kB / 449.6 MB, free: 18.14 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001789/0.1997, allocations: 483.3 kB / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1999, allocations: 64.39 kB / 450.1 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1999, allocations: 0 / 450.1 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.2, allocations: 25.98 kB / 450.2 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.2003, allocations: 29.73 kB / 450.2 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.2009, allocations: 307.8 kB / 450.5 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.852e-05/0.2009, allocations: 110.5 kB / 450.6 MB, free: 17.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.317e-05/0.201, allocations: 16.91 kB / 450.6 MB, free: 17.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.201, allocations: 16.53 kB / 450.6 MB, free: 17.64 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.201, allocations: 0 / 450.6 MB, free: 17.64 MB / 366.1 MB Notification: Performance of Templates: time 0.005359/0.2064, allocations: 1.873 MB / 452.5 MB, free: 17.39 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.047713849693537]