Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.0008099/0.0008099, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001147/0.001957, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009701/0.0009701, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009616/0.001932, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9359/0.9359, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09162/1.028, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.2558/0.2558, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05357/0.3093, allocations: 13.11 MB / 291.5 MB, free: 7.328 MB / 282.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 292.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.979e-06/1.111e-05, allocations: 3.844 kB / 292.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.001853/0.001864, allocations: 1.807 MB / 294.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.002971, allocations: 1.022 MB / 295.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.003034, allocations: 0 / 295.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.003198, allocations: 43.58 kB / 295.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.003397, allocations: 99.47 kB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.00355, allocations: 75.56 kB / 296 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.003686, allocations: 111.6 kB / 296.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.66e-05/0.003752, allocations: 11.98 kB / 296.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.003899, allocations: 79.77 kB / 296.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.441e-05/0.003973, allocations: 31.89 kB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.003987, allocations: 4 kB / 296.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.588e-05/0.004063, allocations: 47.86 kB / 296.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.004102, allocations: 15.94 kB / 296.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.00413, allocations: 15.94 kB / 296.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.004274, allocations: 99.59 kB / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.004285, allocations: 0 / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004285, allocations: 0 / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.004295, allocations: 0 / 296.4 MB, free: 2.633 MB / 282.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.0003958/0.004691, allocations: 337 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.004719, allocations: 8.031 kB / 296.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.004746, allocations: 8.922 kB / 296.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.004926, allocations: 154.2 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.004942, allocations: 384 / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.004964, allocations: 4.375 kB / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.005083, allocations: 61.77 kB / 296.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.005095, allocations: 3.938 kB / 296.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.005103, allocations: 0 / 296.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.00511, allocations: 4 kB / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.005144, allocations: 11.98 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.005389, allocations: 173.9 kB / 297.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.0055, allocations: 81.3 kB / 297.2 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.005525, allocations: 8.859 kB / 297.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.005535, allocations: 0 / 297.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.005646, allocations: 70.14 kB / 297.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.005647, allocations: 0 / 297.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003578/0.006005, allocations: 121.5 kB / 297.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.00604, allocations: 63.34 kB / 297.5 MB, free: 1.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.006188, allocations: 181.2 kB / 297.6 MB, free: 1.234 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.00621, allocations: 29.7 kB / 297.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.006255, allocations: 96.12 kB / 297.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.00629, allocations: 23.83 kB / 297.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.00633, allocations: 21.66 kB / 297.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.00644, allocations: 326.8 kB / 298.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.006467, allocations: 14.81 kB / 298.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.006501, allocations: 17.72 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/0.006566, allocations: 48.5 kB / 298.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006568, allocations: 4 kB / 298.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001156/0.006683, allocations: 76.44 kB / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.006699, allocations: 4 kB / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.006704, allocations: 0 / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.006724, allocations: 4 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.006818, allocations: 19.92 kB / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.006821, allocations: 0 / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.006862, allocations: 4 kB / 298.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.006871, allocations: 4 kB / 298.3 MB, free: 0.5078 MB / 282.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 8.349e-05/0.006954, allocations: 122.5 kB / 298.4 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.006979, allocations: 19.92 kB / 298.5 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.007111, allocations: 71.08 kB / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.007113, allocations: 0 / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.007114, allocations: 0 / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.00712, allocations: 7.984 kB / 298.5 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.007409, allocations: 299.4 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.007411, allocations: 0 / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.007457, allocations: 12 kB / 298.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.007471, allocations: 7.953 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.007474, allocations: 4.031 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.007485, allocations: 7.984 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.007486, allocations: 0 / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.007488, allocations: 0 / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.007645, allocations: 215 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.007662, allocations: 4 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.007707, allocations: 3.984 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.007728, allocations: 11.94 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.007739, allocations: 8.359 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.048e-05/0.00778, allocations: 47.64 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00778, allocations: 4 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001361/0.007916, allocations: 23.98 kB / 299.2 MB, free: 15.59 MB / 298.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.001226/0.009141, allocations: 0.647 MB / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.678e-05/0.009218, allocations: 40.83 kB / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.009224, allocations: 4 kB / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.387e-05/0.009258, allocations: 32.77 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.009461, allocations: 180.4 kB / 300.1 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.009909, allocations: 223.6 kB / 300.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.341e-05/0.009942, allocations: 67.33 kB / 300.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.191e-05/0.009984, allocations: 21.16 kB / 300.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.01005, allocations: 71.36 kB / 300.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01005, allocations: 0 / 300.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of Templates: time 0.003189/0.01324, allocations: 2.046 MB / 302.5 MB, free: 12.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.93025585077703]