Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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.001064/0.001064, allocations: 85.91 kB / 21.43 MB, free: 3.066 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.001251/0.001251, allocations: 163.1 kB / 24.82 MB, free: 8.875 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.997/0.997, allocations: 177 MB / 205.1 MB, free: 5.492 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.2645/0.2645, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 379.3 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.202e-05, allocations: 12.22 kB / 379.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.00457/0.004602, allocations: 1.75 MB / 381.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.006636, allocations: 1.005 MB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.006757, allocations: 0 / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.007107, allocations: 47.64 kB / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.007496, allocations: 91.53 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.007765, allocations: 83.59 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004435/0.008208, allocations: 107.6 kB / 382.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.008317, allocations: 7.984 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.008451, allocations: 59.77 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.367e-05/0.008545, allocations: 23.92 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.008565, allocations: 4 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.008696, allocations: 47.91 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.008758, allocations: 19.92 kB / 382.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.008807, allocations: 19.92 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.009046, allocations: 103.6 kB / 382.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.009051, allocations: 0 / 382.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.009052, allocations: 0 / 382.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.009058, allocations: 0 / 382.7 MB, free: 14.37 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.0005604/0.009618, allocations: 455.8 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.009663, allocations: 8.031 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.009712, allocations: 20.84 kB / 383.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.009901, allocations: 153.1 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.009918, allocations: 384 / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.009939, allocations: 8.375 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.01006, allocations: 54.94 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.01008, allocations: 192 / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.01008, allocations: 4.375 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.01009, allocations: 3.938 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.265e-05/0.01012, allocations: 15.92 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.01042, allocations: 264.4 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.01053, allocations: 55.16 kB / 383.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.01056, allocations: 11.69 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.01058, allocations: 0 / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.01069, allocations: 72.97 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.01069, allocations: 0 / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004119/0.0111, allocations: 133.4 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.01113, allocations: 63.33 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.0113, allocations: 222.3 kB / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.01131, allocations: 29.7 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.01139, allocations: 158.8 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.01143, allocations: 27.78 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.01147, allocations: 27.36 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.01162, allocations: 0.4923 MB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.791e-05/0.01165, allocations: 11.98 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-05/0.0117, allocations: 39.28 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.157e-05/0.01176, allocations: 43.31 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01176, allocations: 0 / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001442/0.0119, allocations: 97.83 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01192, allocations: 4 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01192, allocations: 0 / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.01194, allocations: 0 / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.543e-05/0.01202, allocations: 23.98 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.01202, allocations: 0 / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.01207, allocations: 8 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.01207, allocations: 0 / 385.1 MB, free: 11.68 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 9.228e-05/0.01217, allocations: 166.8 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.01219, allocations: 19.84 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.01237, allocations: 99.11 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.01237, allocations: 0 / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01238, allocations: 3.984 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01238, allocations: 0 / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.01275, allocations: 361.6 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01275, allocations: 0 / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.01279, allocations: 11.94 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.0128, allocations: 3.984 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.01281, allocations: 8 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.01281, allocations: 0 / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01281, allocations: 4.031 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.01302, allocations: 255.4 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.01304, allocations: 7.953 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.01306, allocations: 0 / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.01313, allocations: 8 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.01316, allocations: 11.92 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.01318, allocations: 0 / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.932e-05/0.01328, allocations: 167.1 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01328, allocations: 0 / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002981/0.01358, allocations: 23.94 kB / 386.3 MB, free: 10.48 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.001366/0.01494, allocations: 436.1 kB / 386.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.01508, allocations: 51.59 kB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01508, allocations: 0 / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.843e-05/0.01513, allocations: 35.55 kB / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.01549, allocations: 35.11 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.01593, allocations: 221.9 kB / 387 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.055e-05/0.01598, allocations: 67.47 kB / 387.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.453e-05/0.01603, allocations: 21.27 kB / 387.1 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.024e-05/0.01612, allocations: 86.19 kB / 387.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01612, allocations: 0 / 387.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of Templates: time 0.00503/0.02115, allocations: 2.03 MB / 389.2 MB, free: 7.609 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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: 3.0680860891006887]