Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.002529/0.002529, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002632/0.002632, allocations: 160.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.703/1.703, allocations: 177 MB / 204.5 MB, free: 5.625 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.3633/0.3633, allocations: 34.26 MB / 295.2 MB, free: 0.6328 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.013e-05, allocations: 2.312 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003408/0.003438, allocations: 1.735 MB / 379 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.005401, allocations: 1.001 MB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.005469, allocations: 0 / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.005777, allocations: 51.64 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.00616, allocations: 95.53 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.006405, allocations: 75.67 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.006637, allocations: 115.5 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.141e-05/0.006728, allocations: 4 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.006857, allocations: 51.89 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.284e-05/0.006949, allocations: 31.84 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.006976, allocations: 4 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.007087, allocations: 47.86 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.00716, allocations: 19.92 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.145e-05/0.007221, allocations: 23.92 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.00749, allocations: 123.5 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.007493, allocations: 0 / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.007495, allocations: 0 / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.0075, 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.001026/0.008526, allocations: 451.5 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.00857, allocations: 12.03 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.008644, allocations: 16.84 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.008945, allocations: 160.8 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.00896, allocations: 384 / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.008988, allocations: 8.375 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.009158, allocations: 54.23 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.009171, allocations: 192 / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.009184, allocations: 4.359 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.009191, allocations: 3.938 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/0.009275, allocations: 19.98 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.009769, allocations: 295.8 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.009979, allocations: 67.16 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.641e-05/0.01005, allocations: 19.69 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.01006, allocations: 4 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.01026, allocations: 80.91 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.01026, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005949/0.01085, allocations: 177.3 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.0109, allocations: 55.41 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.01117, allocations: 253.9 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.01119, allocations: 29.64 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.01131, allocations: 158.9 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.01135, allocations: 35.78 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.0114, allocations: 27.38 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002779/0.01168, allocations: 0.5001 MB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.084e-05/0.01174, allocations: 23.98 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.01182, allocations: 43.36 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.01195, allocations: 67.3 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01195, allocations: 0 / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002179/0.01217, allocations: 102 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.01218, allocations: 4 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01219, allocations: 0 / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.01221, allocations: 4 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.0123, allocations: 23.92 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.01231, allocations: 4.188 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.01236, allocations: 8 kB / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.01236, allocations: 0 / 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.0001364/0.0125, allocations: 170.8 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.01253, allocations: 19.84 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.01281, allocations: 123 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01281, allocations: 0 / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.01282, allocations: 3.984 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01283, allocations: 0 / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000578/0.0134, allocations: 416.9 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.01341, allocations: 8.031 kB / 384.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.01345, allocations: 11.98 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01345, allocations: 0 / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.01347, allocations: 4 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.01347, allocations: 4 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01347, allocations: 3.938 kB / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.0138, allocations: 263.4 kB / 384.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.01383, allocations: 11.91 kB / 384.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.01385, allocations: 8 kB / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.01393, allocations: 3.984 kB / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.01398, allocations: 11.98 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.014, allocations: 4 kB / 384.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.01418, allocations: 188.1 kB / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01418, allocations: 4 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.01445, allocations: 23.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.003377/0.01782, allocations: 481.1 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.01806, allocations: 79.53 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01806, allocations: 0 / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.01816, allocations: 39.61 kB / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.01856, allocations: 34.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.0006247/0.01919, allocations: 233.9 kB / 385.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.0193, allocations: 100.9 kB / 385.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.382e-05/0.01937, allocations: 25.25 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.01941, allocations: 20.5 kB / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01941, allocations: 0 / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of Templates: time 0.005861/0.02528, allocations: 1.864 MB / 387.4 MB, free: 8.457 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.19908415095415]