Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001056/0.001056, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001559/0.001559, allocations: 165 kB / 24.56 MB, free: 12 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.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2874/0.2874, allocations: 34.26 MB / 295.7 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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.827e-05, allocations: 2.312 kB / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002391/0.002409, allocations: 1.637 MB / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008152/0.003224, allocations: 0.5259 MB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.003274, allocations: 0 / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.003478, allocations: 31.73 kB / 380.3 MB, free: 396 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.003752, allocations: 83.55 kB / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.00399, allocations: 95.62 kB / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.004147, allocations: 67.83 kB / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.813e-05/0.004246, allocations: 8 kB / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.179e-05/0.004307, allocations: 27.86 kB / 380.5 MB, free: 112 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.886e-05/0.004366, allocations: 19.91 kB / 380.5 MB, free: 92 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.004382, allocations: 4 kB / 380.6 MB, free: 88 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.00447, allocations: 35.92 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.004516, allocations: 7.938 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.004547, allocations: 19.91 kB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.004724, allocations: 67.75 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004726, allocations: 8 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004727, allocations: 0 / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004731, allocations: 0 / 380.7 MB, free: 15.95 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004354/0.005167, allocations: 408.2 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.005204, allocations: 8.031 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.005255, allocations: 16.83 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.005413, allocations: 139.4 kB / 381.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.005428, allocations: 8.375 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.005449, allocations: 384 / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.005566, allocations: 54.95 kB / 381.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.005578, allocations: 8.172 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.005588, allocations: 4.125 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.005595, allocations: 3.938 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.305e-05/0.005628, allocations: 11.98 kB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.005919, allocations: 271.8 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.006094, allocations: 43.05 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.006116, allocations: 11.69 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.006134, allocations: 3.938 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.006155, allocations: 37.39 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.006157, allocations: 0 / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003527/0.006509, allocations: 109.5 kB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.006542, allocations: 55.39 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.00667, allocations: 208.8 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.00668, allocations: 25.7 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.00674, allocations: 142.9 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.00676, allocations: 15.91 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.006797, allocations: 23.38 kB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.006926, allocations: 0.4922 MB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.006946, allocations: 7.984 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.637e-05/0.006962, allocations: 8.062 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.118e-05/0.007004, allocations: 31.69 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.007004, allocations: 0 / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.777e-05/0.007092, allocations: 61.59 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.007105, allocations: 4 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.007109, allocations: 0 / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.007123, allocations: 7.938 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.641e-05/0.00717, allocations: 11.98 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.007174, allocations: 0 / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.147e-05/0.007196, allocations: 0 / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.007201, allocations: 4 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.514e-05/0.007287, allocations: 164.5 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.007317, allocations: 11.95 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.007442, allocations: 70.06 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.007444, allocations: 0 / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.007448, allocations: 0 / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.007452, allocations: 4 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.007716, allocations: 329.3 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007717, allocations: 3.938 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.007752, allocations: 12.31 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.007754, allocations: 0 / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.007761, allocations: 7.984 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.007764, allocations: 4 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007765, allocations: 0 / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.007879, allocations: 211.8 kB / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.007887, allocations: 7.953 kB / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.0079, allocations: 0 / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.815e-05/0.007948, allocations: 4 kB / 383.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.007975, allocations: 3.984 kB / 383.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.00798, allocations: 4 kB / 383.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.219e-05/0.008052, allocations: 155.1 kB / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008052, allocations: 0 / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.008293, allocations: 15.98 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009703/0.009264, allocations: 373.4 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.009364, allocations: 31.62 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.009366, allocations: 4 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.62e-05/0.009392, allocations: 19.67 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.00966, allocations: 19.8 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.009984, allocations: 182.5 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.109e-05/0.01003, allocations: 63.34 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.218e-05/0.01006, allocations: 11.98 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.01009, allocations: 16.5 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01009, allocations: 0 / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of Templates: time 0.003296/0.01339, allocations: 1.247 MB / 385.8 MB, free: 10.61 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.178952152840793]