Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.001245/0.001245, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001335/0.001335, allocations: 217 kB / 24.5 MB, free: 4.133 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.331/1.331, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 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.2114/0.2114, allocations: 46.93 MB / 361.5 MB, free: 4.18 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.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 79.88 kB / 0.4975 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3027, allocations: 66.08 MB / 0.562 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003437/0.3061, allocations: 1.936 MB / 0.5639 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.3081, allocations: 1.158 MB / 0.5651 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-05/0.3082, allocations: 7.938 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.3086, allocations: 215.4 kB / 0.5653 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004396/0.3091, allocations: 223.2 kB / 0.5655 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.3093, allocations: 111.7 kB / 0.5656 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.3097, allocations: 259.2 kB / 0.5658 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3098, allocations: 33.88 kB / 0.5659 GB, free: 260 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.31, allocations: 123.5 kB / 0.566 GB, free: 136 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.3102, allocations: 171.5 kB / 0.5662 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.3102, allocations: 12 kB / 0.5662 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.3104, allocations: 63.95 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.706e-05/0.3104, allocations: 59.78 kB / 0.5663 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.144e-05/0.3105, allocations: 95.22 kB / 0.5664 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.3109, allocations: 245.2 kB / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3109, allocations: 0 / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3109, allocations: 0 / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.3109, allocations: 0 / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007664/0.3116, allocations: 0.508 MB / 0.5671 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3117, allocations: 12.03 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.3117, allocations: 28.75 kB / 0.5671 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.3121, allocations: 230.5 kB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3121, allocations: 4.375 kB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.3122, allocations: 12.36 kB / 0.5674 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.3124, allocations: 118.1 kB / 0.5675 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.3124, allocations: 3.984 kB / 0.5675 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3125, allocations: 4 kB / 0.5675 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3125, allocations: 4 kB / 0.5675 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.3126, allocations: 43.97 kB / 0.5675 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.3132, allocations: 443.8 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.3135, allocations: 129.2 kB / 0.5681 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.6e-05/0.3136, allocations: 37.83 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.3137, allocations: 4.141 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.3139, allocations: 117.1 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.3139, allocations: 0 / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001254/0.3151, allocations: 0.5091 MB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.3152, allocations: 81.11 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/0.3157, allocations: 448.4 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3157, allocations: 29.7 kB / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.3158, allocations: 164.5 kB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.07e-05/0.3159, allocations: 75.42 kB / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.28e-05/0.316, allocations: 41.7 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3162, allocations: 342.8 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3163, allocations: 59.97 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3164, allocations: 88.5 kB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.3167, allocations: 163.5 kB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3167, allocations: 0 / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004836/0.3172, allocations: 233.2 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3172, allocations: 10.19 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.3172, allocations: 0 / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.3172, allocations: 12 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.3174, allocations: 47.91 kB / 0.5705 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.431e-05/0.3174, allocations: 4 kB / 0.5705 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.101e-05/0.3175, allocations: 11.95 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.3175, allocations: 8 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000154/0.3177, allocations: 166.2 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.3177, allocations: 31.81 kB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004969/0.3182, allocations: 272.3 kB / 0.5709 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3182, allocations: 0 / 0.5709 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3182, allocations: 7.938 kB / 0.5709 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3183, allocations: 0 / 0.5709 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008944/0.3191, allocations: 0.703 MB / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3192, allocations: 8.016 kB / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.947e-05/0.3192, allocations: 27.94 kB / 0.5717 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.3192, allocations: 4 kB / 0.5717 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.3193, allocations: 11.98 kB / 0.5717 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3193, allocations: 240 / 0.5717 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3193, allocations: 4 kB / 0.5717 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.3197, allocations: 434 kB / 0.5721 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.3198, allocations: 27.77 kB / 0.5721 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.3198, allocations: 11.94 kB / 0.5721 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.3199, allocations: 11.98 kB / 0.5721 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.32, allocations: 23.91 kB / 0.5722 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.32, allocations: 12 kB / 0.5722 GB, free: 9.449 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003398/0.3204, allocations: 335 kB / 0.5725 GB, free: 9.121 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3204, allocations: 0 / 0.5725 GB, free: 9.121 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000337/0.3207, allocations: 47.94 kB / 0.5725 GB, free: 9.074 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001891/0.3226, allocations: 0.5074 MB / 0.573 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003442/0.3229, allocations: 147.8 kB / 0.5732 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3229, allocations: 0 / 0.5732 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.3231, allocations: 79.78 kB / 0.5732 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.3237, allocations: 62.08 kB / 0.5733 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009224/0.3246, allocations: 0.5959 MB / 0.5739 GB, free: 7.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.325, allocations: 0.7741 MB / 0.5746 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.262e-05/0.3251, allocations: 35.42 kB / 0.5747 GB, free: 6.984 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3251, allocations: 4 kB / 0.5747 GB, free: 6.98 MB / 414.1 MB Notification: Performance of Templates: time 0.006123/0.3312, allocations: 3.772 MB / 0.5784 GB, free: 3.223 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 7.416854847222567]