Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.00237/0.00237, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.003382/0.003382, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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.701/1.701, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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.3928/0.3928, allocations: 34.26 MB / 295.2 MB, free: 0.6289 MB / 266.7 MB " [Timeout remaining time 179] 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.415e-05, allocations: 6.25 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003688/0.003722, allocations: 1.739 MB / 379 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.005725, allocations: 1.005 MB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.005793, allocations: 0 / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.0061, allocations: 47.64 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.006434, allocations: 95.52 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.006654, allocations: 71.69 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.006889, allocations: 119.5 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.31e-05/0.006982, allocations: 4 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.007115, allocations: 59.83 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.007216, allocations: 27.84 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.00724, allocations: 4 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.007355, allocations: 43.92 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.007422, allocations: 23.91 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.652e-05/0.007478, allocations: 19.92 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.007753, allocations: 119.6 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.007757, allocations: 0 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.007759, allocations: 4 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.007774, allocations: 0 / 380.7 MB, free: 15.42 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.000745/0.008519, allocations: 455.5 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.008562, allocations: 12.03 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/0.00863, allocations: 16.84 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.008927, allocations: 156.9 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.008942, allocations: 4.375 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.008968, allocations: 4.359 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.009128, allocations: 50.25 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.009145, allocations: 8.172 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.009156, allocations: 384 / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.009164, allocations: 3.938 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.009241, allocations: 12 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.009736, allocations: 303.8 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.00994, allocations: 63.16 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.238e-05/0.01, allocations: 19.67 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.01002, allocations: 8 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.01021, allocations: 80.91 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.01021, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006249/0.01083, allocations: 177.3 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.01088, allocations: 51.41 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.01116, allocations: 257.9 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.01119, allocations: 29.64 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.01131, allocations: 158.9 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.01136, allocations: 35.78 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.01141, allocations: 27.38 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002977/0.01171, allocations: 0.504 MB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.01177, allocations: 19.98 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.01185, allocations: 43.36 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.01198, allocations: 67.3 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.01198, allocations: 0 / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002142/0.01219, allocations: 97.95 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.01221, allocations: 12.03 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01221, allocations: 3.938 kB / 383.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.01223, allocations: 0 / 383.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.313e-05/0.01232, allocations: 19.98 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.01233, allocations: 4 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.01237, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.01238, allocations: 8.156 kB / 383.3 MB, free: 12.53 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 0.0001407/0.01252, allocations: 166.8 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.01256, allocations: 23.83 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.01283, allocations: 119.1 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.01284, allocations: 11.98 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.01284, allocations: 0 / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01284, allocations: 0 / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.01339, allocations: 416.9 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01339, allocations: 0 / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.01343, allocations: 11.98 kB / 384.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.01344, allocations: 4 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.01345, allocations: 3.938 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01345, allocations: 0 / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01345, allocations: 0 / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.01377, allocations: 275.5 kB / 384.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.0138, allocations: 11.91 kB / 384.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.01383, allocations: 7.984 kB / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.617e-05/0.01389, allocations: 4 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.01393, allocations: 7.984 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.01395, allocations: 4 kB / 384.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.01412, allocations: 188.1 kB / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01412, allocations: 0 / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002559/0.01437, allocations: 27.98 kB / 384.6 MB, free: 11.19 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.003415/0.01779, allocations: 484.4 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.01802, allocations: 75.53 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01802, allocations: 0 / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.448e-05/0.01811, allocations: 39.61 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.01848, allocations: 36.09 kB / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005701/0.01905, allocations: 237.9 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.01917, allocations: 92.8 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.719e-05/0.01923, allocations: 21.27 kB / 385.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.01928, allocations: 20.5 kB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01928, allocations: 4 kB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of Templates: time 0.006128/0.02541, allocations: 1.872 MB / 387.4 MB, free: 8.457 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.269290078082122]