Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001855/0.001855, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002026/0.002026, allocations: 161.3 kB / 24.27 MB, free: 152 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.617/1.617, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4006/0.4006, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.676e-05/3.848e-05, allocations: 9.344 kB / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.00412/0.004159, allocations: 1.739 MB / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002932/0.007091, allocations: 1.699 MB / 378.8 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.009e-05/0.007181, allocations: 0 / 378.8 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.007532, allocations: 39.7 kB / 378.8 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.007956, allocations: 111.3 kB / 378.9 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.008181, allocations: 75.67 kB / 379 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.008418, allocations: 107.6 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.008524, allocations: 4 kB / 379.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.008671, allocations: 63.81 kB / 379.2 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.008827, allocations: 39.89 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.008854, allocations: 4 kB / 379.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.009077, allocations: 103.8 kB / 379.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.663e-05/0.009153, allocations: 23.86 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.623e-05/0.00921, allocations: 19.92 kB / 379.4 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.009577, allocations: 179.4 kB / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.009582, allocations: 0 / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.009583, allocations: 0 / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.00959, allocations: 0 / 379.5 MB, free: 0.6914 MB / 346.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.0007662/0.01036, allocations: 463.4 kB / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.0104, allocations: 12.03 kB / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.01046, allocations: 12.89 kB / 380 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.01074, allocations: 149 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.01075, allocations: 384 / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.01078, allocations: 4.375 kB / 380.2 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.01101, allocations: 106.6 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.01103, allocations: 0 / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.01105, allocations: 3.984 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.01105, allocations: 0 / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.858e-05/0.01113, allocations: 16 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.01161, allocations: 299.7 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.01182, allocations: 67.09 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.01188, allocations: 19.69 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.0119, allocations: 0 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.01208, allocations: 77.03 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.01208, allocations: 0 / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006837/0.01277, allocations: 177.3 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.01285, allocations: 81.11 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.01312, allocations: 228.3 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.01315, allocations: 33.7 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.01328, allocations: 150.8 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.01332, allocations: 27.78 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.01339, allocations: 27.38 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003294/0.01372, allocations: 0.5078 MB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.19e-05/0.01378, allocations: 19.98 kB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.0139, allocations: 80.69 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.01404, allocations: 67.36 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.01404, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000222/0.01426, allocations: 101.5 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.01428, allocations: 12.06 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01428, allocations: 384 / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.0143, allocations: 0 / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.01441, allocations: 15.98 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.01442, allocations: 4 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.01447, allocations: 7.984 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.01448, allocations: 4 kB / 382.3 MB, free: 13.71 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.0001492/0.01463, allocations: 172.5 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.01467, allocations: 11.95 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.01495, allocations: 118.5 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01495, allocations: 4 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01496, allocations: 0 / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.01496, allocations: 3.984 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005973/0.01556, allocations: 409 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.01557, allocations: 4 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.01561, allocations: 11.98 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01561, allocations: 0 / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.01562, allocations: 0 / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01562, allocations: 4 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01563, allocations: 0 / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.01616, allocations: 275.4 kB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.01619, allocations: 7.953 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.01622, allocations: 11.98 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.01629, allocations: 0 / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.01634, allocations: 11.92 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.01636, allocations: 4 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001837/0.01655, allocations: 178.1 kB / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01655, allocations: 4 kB / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003341/0.01688, allocations: 47.8 kB / 383.5 MB, free: 12.37 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.003857/0.02074, allocations: 0.6006 MB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.021, allocations: 71.59 kB / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.02101, allocations: 0 / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.813e-05/0.0211, allocations: 39.61 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.02149, allocations: 35.92 kB / 384.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.02206, allocations: 225.9 kB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.02217, allocations: 85.44 kB / 384.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.307e-05/0.02224, allocations: 12.97 kB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.02229, allocations: 20.5 kB / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02229, allocations: 0 / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of Templates: time 0.007328/0.02962, allocations: 2.533 MB / 387.1 MB, free: 8.973 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.347477414994501]