Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.001826/0.001826, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002363/0.002363, allocations: 214.5 kB / 24.48 MB, free: 3.93 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.484/1.484, allocations: 230.5 MB / 258.1 MB, free: 7.812 MB / 206.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.2238/0.2238, allocations: 46.95 MB / 361.6 MB, free: 3.93 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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 79.88 kB / 0.4975 GB, free: 6.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.326, allocations: 66.09 MB / 0.562 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003464/0.3295, allocations: 1.87 MB / 0.5638 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.3315, allocations: 1.08 MB / 0.5649 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.255e-05/0.3316, allocations: 0 / 0.5649 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004741/0.3321, allocations: 227.4 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005404/0.3326, allocations: 215.2 kB / 0.5653 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.3329, allocations: 115.6 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.3333, allocations: 263.2 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3334, allocations: 21.95 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.3336, allocations: 119.5 kB / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.3338, allocations: 171.4 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.3338, allocations: 8 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.334, allocations: 67.97 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.886e-05/0.3341, allocations: 67.64 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/0.3342, allocations: 71.47 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.3345, allocations: 249.1 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3345, allocations: 4 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3345, allocations: 0 / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.3345, allocations: 0 / 0.5664 GB, free: 15.39 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.0007583/0.3353, allocations: 0.4925 MB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3353, allocations: 20.02 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.462e-05/0.3354, allocations: 28.75 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.3358, allocations: 222.4 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.3358, allocations: 4.375 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.3358, allocations: 12.31 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.3361, allocations: 122.5 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3361, allocations: 0 / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.3361, allocations: 3.984 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3361, allocations: 0 / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.3362, allocations: 51.91 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.3368, allocations: 416.4 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.3373, allocations: 121.2 kB / 0.5678 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3374, allocations: 41.83 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.3374, allocations: 0 / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.3376, allocations: 128.5 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.3376, allocations: 4 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001362/0.339, allocations: 0.5131 MB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.3391, allocations: 85.05 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/0.3396, allocations: 456.4 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.585e-05/0.3397, allocations: 33.7 kB / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.3398, allocations: 160.5 kB / 0.5692 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.242e-05/0.3399, allocations: 75.42 kB / 0.5693 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.3399, allocations: 41.7 kB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3401, allocations: 346.8 kB / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3403, allocations: 55.98 kB / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.3404, allocations: 103.3 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.3408, allocations: 163.6 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3408, allocations: 0 / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004735/0.3413, allocations: 241.2 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3413, allocations: 4 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3413, allocations: 8.297 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3413, allocations: 0 / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.3415, allocations: 51.86 kB / 0.5702 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3415, allocations: 3.984 kB / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.685e-05/0.3416, allocations: 15.88 kB / 0.5703 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.3416, allocations: 15.94 kB / 0.5703 GB, free: 11.18 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.0001722/0.3418, allocations: 165.8 kB / 0.5704 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.3418, allocations: 31.81 kB / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005576/0.3424, allocations: 284.3 kB / 0.5707 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3424, allocations: 3.938 kB / 0.5707 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3424, allocations: 0 / 0.5707 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3424, allocations: 4 kB / 0.5708 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000988/0.3434, allocations: 0.6761 MB / 0.5714 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3434, allocations: 4 kB / 0.5714 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.643e-05/0.3435, allocations: 31.92 kB / 0.5714 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3435, allocations: 4 kB / 0.5714 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.3435, allocations: 16.11 kB / 0.5715 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.3435, allocations: 4 kB / 0.5715 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3435, allocations: 3.938 kB / 0.5715 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.3441, allocations: 433.8 kB / 0.5719 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.3441, allocations: 35.77 kB / 0.5719 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.3442, allocations: 11.98 kB / 0.5719 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.3443, allocations: 4 kB / 0.5719 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.3444, allocations: 27.84 kB / 0.572 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.3444, allocations: 8 kB / 0.572 GB, free: 9.359 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004089/0.3448, allocations: 347 kB / 0.5723 GB, free: 9.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3448, allocations: 0 / 0.5723 GB, free: 9.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003856/0.3452, allocations: 51.94 kB / 0.5723 GB, free: 8.969 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 (24): * Single equations (assignments): 20 * 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.002117/0.3473, allocations: 0.5424 MB / 0.5729 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003851/0.3477, allocations: 159.8 kB / 0.573 GB, free: 8.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3477, allocations: 0 / 0.573 GB, free: 8.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.3479, allocations: 84.16 kB / 0.5731 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.3484, allocations: 61.77 kB / 0.5732 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009892/0.3494, allocations: 0.5997 MB / 0.5738 GB, free: 7.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.3496, allocations: 178.1 kB / 0.5739 GB, free: 7.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.188e-05/0.3497, allocations: 31.42 kB / 0.574 GB, free: 7.445 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3497, allocations: 384 / 0.574 GB, free: 7.445 MB / 414.1 MB Notification: Performance of Templates: time 0.006574/0.3563, allocations: 3.872 MB / 0.5777 GB, free: 3.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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: 8.27317360183224]