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.001025/0.001025, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001029/0.001029, allocations: 167.1 kB / 24.99 MB, free: 8.801 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 1.017/1.017, allocations: 177 MB / 205.2 MB, free: 5.582 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.2744/0.2744, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|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.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|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 1.854e-06/1.854e-06, allocations: 0 / 378.8 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.135e-05, allocations: 6.312 kB / 378.8 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002525/0.002557, allocations: 1.939 MB / 380.8 MB, free: 344 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.003904, allocations: 1.102 MB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.691e-05/0.004001, allocations: 4 kB / 381.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.004395, allocations: 231.2 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000385/0.00478, allocations: 219.1 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.005015, allocations: 111.6 kB / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000263/0.005278, allocations: 267.2 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.005391, allocations: 21.95 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.005526, allocations: 147.5 kB / 382.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.005669, allocations: 151.7 kB / 383 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.005688, allocations: 8 kB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.005782, allocations: 71.91 kB / 383.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.00585, allocations: 67.64 kB / 383.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.005901, allocations: 47.78 kB / 383.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.006119, allocations: 191.2 kB / 383.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.006121, allocations: 0 / 383.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006122, allocations: 7.938 kB / 383.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.006126, allocations: 0 / 383.4 MB, free: 13.71 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005228/0.006649, allocations: 0.6001 MB / 384 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.006683, allocations: 8.031 kB / 384 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.355e-05/0.006746, allocations: 40.75 kB / 384.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.006952, allocations: 228.5 kB / 384.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.006977, allocations: 12.38 kB / 384.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.006999, allocations: 4.375 kB / 384.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.007162, allocations: 114.3 kB / 384.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.007172, allocations: 4.141 kB / 384.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.007183, allocations: 8.375 kB / 384.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.00719, allocations: 3.938 kB / 384.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.768e-05/0.007247, allocations: 31.91 kB / 384.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.007641, allocations: 0.5064 MB / 385 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.007855, allocations: 126.1 kB / 385.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.007902, allocations: 39.42 kB / 385.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.00792, allocations: 7.984 kB / 385.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.008054, allocations: 112.3 kB / 385.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.008055, allocations: 0 / 385.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007325/0.008787, allocations: 477.5 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.008825, allocations: 81.11 kB / 385.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.009072, allocations: 398.3 kB / 386.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.009087, allocations: 29.7 kB / 386.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.009178, allocations: 219.3 kB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.009224, allocations: 75.36 kB / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.009271, allocations: 47.36 kB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.009391, allocations: 0.5235 MB / 387.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.254e-05/0.009443, allocations: 35.97 kB / 387.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.009512, allocations: 80.91 kB / 387.2 MB, free: 9.676 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.00964, allocations: 130.8 kB / 387.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.009641, allocations: 0 / 387.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002019/0.009843, allocations: 201.3 kB / 387.5 MB, free: 9.328 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.009855, allocations: 4 kB / 387.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.009859, allocations: 0 / 387.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.009872, allocations: 4 kB / 387.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.009962, allocations: 51.91 kB / 387.6 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.009967, allocations: 0 / 387.6 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.01001, allocations: 20 kB / 387.6 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.01002, allocations: 8 kB / 387.6 MB, free: 9.242 MB / 362.7 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 8.391e-05/0.01011, allocations: 172.5 kB / 387.7 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.01014, allocations: 43.77 kB / 387.8 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.01041, allocations: 224.4 kB / 388 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01041, allocations: 4 kB / 388 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.01042, allocations: 0 / 388 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01042, allocations: 0 / 388 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.01097, allocations: 0.7567 MB / 388.8 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.01097, allocations: 7.984 kB / 388.8 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.01103, allocations: 31.94 kB / 388.8 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01103, allocations: 4 kB / 388.8 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01104, allocations: 7.984 kB / 388.8 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01104, allocations: 3.938 kB / 388.8 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01105, allocations: 4 kB / 388.8 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.01133, allocations: 0.5066 MB / 389.3 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.01139, allocations: 39.88 kB / 389.4 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.01141, allocations: 12 kB / 389.4 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.01149, allocations: 4 kB / 389.4 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.01153, allocations: 23.91 kB / 389.4 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.01155, allocations: 15.98 kB / 389.4 MB, free: 7.281 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.0117, allocations: 271 kB / 389.7 MB, free: 7.016 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0117, allocations: 0 / 389.7 MB, free: 7.016 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.01194, allocations: 51.92 kB / 389.7 MB, free: 6.965 MB / 362.7 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.001027/0.01297, allocations: 498.6 kB / 390.2 MB, free: 6.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.01316, allocations: 131.7 kB / 390.4 MB, free: 6.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01316, allocations: 0 / 390.4 MB, free: 6.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.788e-05/0.01324, allocations: 75.52 kB / 390.4 MB, free: 6.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.01358, allocations: 75.72 kB / 390.5 MB, free: 6.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.0141, allocations: 0.4895 MB / 391 MB, free: 5.801 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.243e-05/0.01417, allocations: 100.3 kB / 391.1 MB, free: 5.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.847e-05/0.01423, allocations: 41.91 kB / 391.1 MB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.01428, allocations: 32.48 kB / 391.2 MB, free: 5.613 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01428, allocations: 0 / 391.2 MB, free: 5.613 MB / 362.7 MB Notification: Performance of Templates: time 0.004895/0.01918, allocations: 3.35 MB / 394.5 MB, free: 2.316 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.0989403871353716]