Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.0009847/0.0009847, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001553/0.002537, allocations: 449.7 kB / 10.37 MB, free: 328 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.001043/0.001043, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002511, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9912/0.9912, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1062/1.097, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2714/0.2714, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02447/0.2959, allocations: 13.1 MB / 291.3 MB, free: 7.371 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 292.7 MB, free: 6.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.906e-05, allocations: 7.438 kB / 292.7 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00316/0.00318, allocations: 1.82 MB / 294.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.004908, allocations: 1.025 MB / 295.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.005017, allocations: 0 / 295.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.005312, allocations: 87.62 kB / 295.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.005662, allocations: 119.4 kB / 295.8 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.005921, allocations: 79.61 kB / 295.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.006138, allocations: 123.6 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.006258, allocations: 15.98 kB / 296 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.006479, allocations: 95.73 kB / 296.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.006639, allocations: 51.86 kB / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.006665, allocations: 4 kB / 296.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.006849, allocations: 59.92 kB / 296.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.075e-05/0.00692, allocations: 19.94 kB / 296.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.006979, allocations: 19.88 kB / 296.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.007254, allocations: 119.5 kB / 296.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.992e-05/0.007274, allocations: 0 / 296.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.007276, allocations: 0 / 296.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.007294, allocations: 0 / 296.4 MB, free: 2.555 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005624/0.007856, allocations: 360.9 kB / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.00789, allocations: 8.031 kB / 296.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.007934, allocations: 12.92 kB / 296.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.008138, allocations: 150.1 kB / 296.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.008155, allocations: 384 / 296.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.008177, allocations: 8.359 kB / 296.9 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.008316, allocations: 73.69 kB / 297 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.008328, allocations: 3.938 kB / 297 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.008336, allocations: 0 / 297 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.008341, allocations: 0 / 297 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.896e-05/0.00838, allocations: 15.98 kB / 297 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.008668, allocations: 177.9 kB / 297.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.008849, allocations: 85.3 kB / 297.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/0.008877, allocations: 20.92 kB / 297.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.008888, allocations: 0 / 297.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.00901, allocations: 70.2 kB / 297.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.009011, allocations: 0 / 297.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005485/0.00956, allocations: 174.1 kB / 297.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.009596, allocations: 55.41 kB / 297.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.009756, allocations: 200.9 kB / 297.7 MB, free: 1.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.009772, allocations: 25.7 kB / 297.8 MB, free: 1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.009815, allocations: 100.1 kB / 297.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.009853, allocations: 31.73 kB / 297.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.009895, allocations: 25.7 kB / 297.9 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.009991, allocations: 330.7 kB / 298.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.01002, allocations: 14.81 kB / 298.3 MB, free: 500 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/0.01006, allocations: 35.2 kB / 298.3 MB, free: 460 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.859e-05/0.01013, allocations: 53.55 kB / 298.3 MB, free: 400 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.01013, allocations: 0 / 298.3 MB, free: 400 kB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001339/0.01027, allocations: 82.28 kB / 298.4 MB, free: 312 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.01028, allocations: 4 kB / 298.4 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01029, allocations: 7.984 kB / 298.4 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.0103, allocations: 0 / 298.4 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.01039, allocations: 27.92 kB / 298.5 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.0104, allocations: 3.938 kB / 298.5 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.01044, allocations: 8 kB / 298.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.01045, allocations: 0 / 298.5 MB, free: 260 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 (13): * Single equations (assignments): 13 * 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.139e-05/0.01053, allocations: 126 kB / 298.6 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.01055, allocations: 11.98 kB / 298.6 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.0107, allocations: 87.08 kB / 298.7 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.0107, allocations: 4 kB / 298.7 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.0107, allocations: 0 / 298.7 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.01071, allocations: 3.938 kB / 298.7 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.01105, allocations: 328.2 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01105, allocations: 0 / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.01111, allocations: 27.98 kB / 299 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.01113, allocations: 15.89 kB / 299.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.01113, allocations: 4 kB / 299.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.01114, allocations: 4 kB / 299.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01114, allocations: 0 / 299.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01114, allocations: 4 kB / 299.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.0113, allocations: 227.8 kB / 299.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.01133, allocations: 4 kB / 299.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/0.0114, allocations: 8 kB / 299.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.01143, allocations: 15.91 kB / 299.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.01145, allocations: 11.94 kB / 299.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.405e-05/0.01151, allocations: 57.61 kB / 299.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01151, allocations: 0 / 299.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.01176, allocations: 31.94 kB / 299.4 MB, free: 15.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.00218/0.01394, allocations: 0.7136 MB / 300.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.01407, allocations: 52.72 kB / 300.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/0.01408, allocations: 4 kB / 300.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.785e-05/0.01413, allocations: 40.77 kB / 300.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.01441, allocations: 43.22 kB / 300.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/0.01502, allocations: 263.4 kB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.608e-05/0.01508, allocations: 72.27 kB / 300.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.01514, allocations: 24.62 kB / 300.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.857e-05/0.01524, allocations: 75.48 kB / 300.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01524, allocations: 0 / 300.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of Templates: time 0.00543/0.02067, allocations: 2.323 MB / 303 MB, free: 12 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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: 2.9278032453730702]