Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002571/0.002571, allocations: 91.61 kB / 20.96 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002873/0.002873, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.569/1.569, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.347/0.347, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 377.4 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.558e-05, allocations: 2.312 kB / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00341/0.003436, allocations: 1.743 MB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.005429, allocations: 0.9937 MB / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.795e-05/0.005497, allocations: 4 kB / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.005805, allocations: 39.66 kB / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.006134, allocations: 95.53 kB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.00639, allocations: 83.59 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.006618, allocations: 111.6 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.006707, allocations: 7.938 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.00683, allocations: 51.89 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.529e-05/0.006915, allocations: 31.84 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.006941, allocations: 4 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.007044, allocations: 47.92 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.081e-05/0.007105, allocations: 19.92 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.007151, allocations: 19.92 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.007396, allocations: 119.5 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.007399, allocations: 0 / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.0074, allocations: 0 / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.007406, allocations: 0 / 380.7 MB, free: 15.51 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.0009398/0.008345, allocations: 447.5 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.008382, allocations: 8.031 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.008441, allocations: 12.88 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.008699, allocations: 160.4 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.008712, allocations: 384 / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.008733, allocations: 4.375 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.00888, allocations: 54.17 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.008894, allocations: 3.938 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.008908, allocations: 4 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.008911, allocations: 0 / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.141e-05/0.008983, allocations: 11.98 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.009402, allocations: 291.8 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.009605, allocations: 71.09 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.534e-05/0.00967, allocations: 35.59 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.009685, allocations: 0 / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.009836, allocations: 69.05 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.009838, allocations: 0 / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005651/0.0104, allocations: 173.3 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.01046, allocations: 55.41 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.01071, allocations: 250.5 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.01073, allocations: 25.7 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.01084, allocations: 154.9 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.01088, allocations: 19.86 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.01094, allocations: 39.36 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002774/0.01121, allocations: 0.4962 MB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/0.01127, allocations: 19.94 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.13e-05/0.01136, allocations: 43.73 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.0115, allocations: 71.36 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.0115, allocations: 0 / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000214/0.01171, allocations: 109.6 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01173, allocations: 7.984 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.01173, allocations: 0 / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.01175, allocations: 7.969 kB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.01184, allocations: 20 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.01185, allocations: 0 / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.01189, allocations: 3.953 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.0119, allocations: 7.984 kB / 383.4 MB, free: 12.66 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.0001351/0.01204, allocations: 172.4 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.01207, allocations: 15.95 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.01235, allocations: 115.1 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.01235, allocations: 4 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.01235, allocations: 0 / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01236, allocations: 4 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/0.0129, allocations: 412.9 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.0129, allocations: 0 / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.01295, allocations: 15.98 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01295, allocations: 0 / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.01296, allocations: 0 / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.01296, allocations: 4 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01296, allocations: 0 / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.01329, allocations: 267.4 kB / 384.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.01332, allocations: 15.89 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.01334, allocations: 4 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.01341, allocations: 8.031 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.01345, allocations: 7.984 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.01347, allocations: 4 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001583/0.01363, allocations: 179.8 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01363, allocations: 0 / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.01388, allocations: 20 kB / 384.6 MB, free: 11.35 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.003404/0.01729, allocations: 0.4977 MB / 385.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.01749, allocations: 63.61 kB / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01749, allocations: 0 / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.934e-05/0.01758, allocations: 39.83 kB / 385.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.01794, allocations: 36.11 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.01843, allocations: 226.4 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.01854, allocations: 100.3 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.784e-05/0.01859, allocations: 12.97 kB / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.01863, allocations: 20.5 kB / 385.6 MB, free: 10.51 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01863, allocations: 0 / 385.6 MB, free: 10.51 MB / 362.7 MB Notification: Performance of Templates: time 0.005585/0.02422, allocations: 1.866 MB / 387.4 MB, free: 8.672 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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: 4.889909159974195]