Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.001348/0.001348, allocations: 81.81 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001106/0.001106, allocations: 165.8 kB / 24.82 MB, free: 9.324 MB / 18.57 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.9407/0.9407, allocations: 177 MB / 205.1 MB, free: 5.457 MB / 186.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.2605/0.2605, allocations: 34.87 MB / 296.6 MB, free: 0.4961 MB / 266.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.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 379.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.238e-05, allocations: 7.234 kB / 379.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002172/0.002194, allocations: 1.759 MB / 381.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.003258, allocations: 1.005 MB / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.003323, allocations: 4 kB / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.003557, allocations: 47.7 kB / 382.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.003781, allocations: 99.53 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.003926, allocations: 83.53 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.004057, allocations: 111.7 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.412e-05/0.004131, allocations: 4 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.004209, allocations: 55.78 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.597e-05/0.004275, allocations: 31.89 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.004288, allocations: 4 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-05/0.004357, allocations: 43.92 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.0044, allocations: 27.92 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.004437, allocations: 23.86 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.004583, allocations: 107.6 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004585, allocations: 0 / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004585, allocations: 0 / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.004588, allocations: 0 / 382.7 MB, free: 14.31 MB / 362.7 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.0003617/0.00495, allocations: 467.6 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.004982, allocations: 12.03 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.005014, allocations: 16.84 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.005148, allocations: 153.2 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.005161, allocations: 4.375 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.005175, allocations: 8.375 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.975e-05/0.005265, allocations: 54.94 kB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.005274, allocations: 192 / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.005281, allocations: 4.375 kB / 383.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.005286, allocations: 7.938 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.382e-05/0.00531, allocations: 11.92 kB / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.005529, allocations: 260.4 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.622e-05/0.005605, allocations: 51.16 kB / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.005626, allocations: 19.69 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.005638, allocations: 0 / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.778e-05/0.005716, allocations: 68.98 kB / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.005717, allocations: 0 / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002723/0.005989, allocations: 145.3 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.006013, allocations: 55.41 kB / 384 MB, free: 12.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.006131, allocations: 251 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002301/0.006361, allocations: 25.7 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.00642, allocations: 166.8 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.006443, allocations: 23.78 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.006474, allocations: 35.36 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.006577, allocations: 0.4962 MB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.006594, allocations: 11.98 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.582e-05/0.00662, allocations: 31.34 kB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.006663, allocations: 47.3 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.006663, allocations: 0 / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.716e-05/0.006751, allocations: 93.84 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.006761, allocations: 4 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.006765, allocations: 3.938 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.006774, allocations: 4.031 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.625e-05/0.00683, allocations: 23.98 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-06/0.006833, allocations: 0 / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.006857, allocations: 0 / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.006862, allocations: 4 kB / 385.2 MB, free: 11.57 MB / 362.7 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 6.556e-05/0.006928, allocations: 167.2 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.006944, allocations: 19.84 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.007063, allocations: 103.1 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.007065, allocations: 0 / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.007066, allocations: 0 / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.007069, allocations: 4 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.007309, allocations: 373.5 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.00731, allocations: 0 / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.007334, allocations: 15.92 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.007337, allocations: 0 / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.007342, allocations: 4 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.007344, allocations: 0 / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007345, allocations: 0 / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.007471, allocations: 263.4 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.007481, allocations: 7.953 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.007493, allocations: 4.031 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.265e-05/0.007536, allocations: 7.984 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.007557, allocations: 4 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.007568, allocations: 7.984 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.5e-05/0.007633, allocations: 171.1 kB / 386.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007633, allocations: 0 / 386.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.007794, allocations: 31.88 kB / 386.4 MB, free: 10.34 MB / 362.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: 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.0008627/0.008657, allocations: 429.6 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.936e-05/0.008736, allocations: 63.52 kB / 386.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.008737, allocations: 0 / 386.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.011e-05/0.008767, allocations: 31.61 kB / 386.9 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.008972, allocations: 27.92 kB / 386.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.009239, allocations: 233.6 kB / 387.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.62e-05/0.009275, allocations: 67.34 kB / 387.2 MB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.289e-05/0.009308, allocations: 17.39 kB / 387.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.009369, allocations: 98.19 kB / 387.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.00937, allocations: 0 / 387.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of Templates: time 0.003259/0.01263, allocations: 2.046 MB / 389.4 MB, free: 7.438 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.944480611011386]