Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001044/0.001044, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001862/0.002906, 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.001157/0.001157, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001618/0.002775, 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 1.047/1.047, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1303/1.178, allocations: 53.67 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.2588/0.2588, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03136/0.2901, allocations: 13.11 MB / 291.5 MB, free: 7.34 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.349e-05, allocations: 5.297 kB / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003401/0.003425, allocations: 1.803 MB / 294.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.005449, allocations: 1.025 MB / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.005582, allocations: 0 / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.00595, allocations: 59.56 kB / 295.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.006272, allocations: 99.47 kB / 295.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.006491, allocations: 87.55 kB / 296 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.00667, allocations: 111.6 kB / 296.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.142e-05/0.006762, allocations: 4 kB / 296.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.006903, allocations: 79.75 kB / 296.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.213e-05/0.006985, allocations: 27.91 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.007001, allocations: 4 kB / 296.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.835e-05/0.007099, allocations: 43.92 kB / 296.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.007155, allocations: 27.92 kB / 296.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.007189, allocations: 19.88 kB / 296.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.007392, allocations: 115.5 kB / 296.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.007404, allocations: 4 kB / 296.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007405, allocations: 4 kB / 296.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.007415, allocations: 0 / 296.4 MB, free: 2.59 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.0005084/0.007924, allocations: 368.8 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.007958, allocations: 8.031 kB / 296.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.007997, allocations: 8.938 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.008177, allocations: 161.5 kB / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.008194, allocations: 4.312 kB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.008216, allocations: 8.359 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.008343, allocations: 61.77 kB / 297 MB, free: 1.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.008354, allocations: 3.938 kB / 297 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.008363, allocations: 4 kB / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.008369, allocations: 0 / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.936e-05/0.008398, allocations: 11.98 kB / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.008639, allocations: 173.8 kB / 297.2 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.00875, allocations: 89.22 kB / 297.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.405e-05/0.008774, allocations: 16.86 kB / 297.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.008788, allocations: 4 kB / 297.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/0.008905, allocations: 62.14 kB / 297.4 MB, free: 1.523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.008907, allocations: 4 kB / 297.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003605/0.009268, allocations: 113.6 kB / 297.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.009302, allocations: 51.41 kB / 297.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.009474, allocations: 217.7 kB / 297.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.009501, allocations: 33.7 kB / 297.8 MB, free: 1.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.009548, allocations: 104 kB / 297.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.009582, allocations: 31.77 kB / 297.9 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.009621, allocations: 13.72 kB / 298 MB, free: 0.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.009718, allocations: 334.8 kB / 298.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.009741, allocations: 10.83 kB / 298.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.009771, allocations: 29.64 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.58e-05/0.009827, allocations: 44.5 kB / 298.4 MB, free: 496 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.009828, allocations: 0 / 298.4 MB, free: 496 kB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001046/0.009932, allocations: 76.44 kB / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.009949, allocations: 8 kB / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.009954, allocations: 0 / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.009968, allocations: 0 / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.526e-05/0.01005, allocations: 19.98 kB / 298.5 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.01006, allocations: 0 / 298.5 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.849e-05/0.0101, allocations: 12.03 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.0101, allocations: 0 / 298.5 MB, free: 372 kB / 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 9.512e-05/0.0102, allocations: 123 kB / 298.6 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.01022, allocations: 15.92 kB / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.01035, allocations: 75.12 kB / 298.7 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01036, allocations: 3.938 kB / 298.7 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.01036, allocations: 4 kB / 298.7 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01036, allocations: 0 / 298.7 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.01066, allocations: 299.4 kB / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01066, allocations: 4.031 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.0107, allocations: 12 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.01072, allocations: 11.91 kB / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01072, allocations: 0 / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01073, allocations: 11.98 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01073, allocations: 3.938 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01073, allocations: 0 / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.01087, allocations: 219 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.01089, allocations: 4 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.01095, allocations: 7.984 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.01098, allocations: 4 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.011, allocations: 8.359 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.442e-05/0.01108, allocations: 81.03 kB / 299.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01108, allocations: 0 / 299.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.01131, allocations: 27.92 kB / 299.4 MB, free: 15.4 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.001722/0.01304, allocations: 0.6427 MB / 300 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.01315, allocations: 48.77 kB / 300.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.01316, allocations: 4 kB / 300.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.0132, allocations: 32.77 kB / 300.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.01351, allocations: 185.1 kB / 300.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.01406, allocations: 268.4 kB / 300.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.856e-05/0.01413, allocations: 71.33 kB / 300.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.456e-05/0.01417, allocations: 12.97 kB / 300.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.01425, allocations: 75.34 kB / 300.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01425, allocations: 0 / 300.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of Templates: time 0.004519/0.01877, allocations: 2.073 MB / 302.8 MB, free: 12.3 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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: 3.0513156559318304]