Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001365/0.001365, allocations: 81.95 kB / 21.42 MB, free: 3.074 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.0009783/0.0009783, allocations: 169.9 kB / 24.82 MB, free: 8.773 MB / 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.083/1.083, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.2434/0.2434, allocations: 32.81 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 376.6 MB, free: 4.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.853e-05, allocations: 6.25 kB / 376.6 MB, free: 4.332 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002537/0.002566, allocations: 1.754 MB / 378.3 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.004326, allocations: 1.722 MB / 380 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.004404, allocations: 0 / 380 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.004702, allocations: 39.77 kB / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.005013, allocations: 103.4 kB / 380.2 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.005172, allocations: 83.59 kB / 380.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.005327, allocations: 115.7 kB / 380.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.005427, allocations: 8 kB / 380.4 MB, free: 500 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.102e-05/0.005518, allocations: 63.77 kB / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.005626, allocations: 39.89 kB / 380.5 MB, free: 396 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.005643, allocations: 4 kB / 380.5 MB, free: 392 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.005787, allocations: 103.8 kB / 380.6 MB, free: 288 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.005834, allocations: 31.84 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.005873, allocations: 23.92 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.006092, allocations: 163.5 kB / 380.8 MB, free: 68 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.006095, allocations: 3.938 kB / 380.8 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006096, allocations: 0 / 380.8 MB, free: 64 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.0061, allocations: 0 / 380.8 MB, free: 64 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004822/0.006583, allocations: 463.9 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.006619, allocations: 15.97 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.006657, allocations: 16.88 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.006846, allocations: 163.3 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.006864, allocations: 384 / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.006883, allocations: 4.375 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.007051, allocations: 112 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.007062, allocations: 3.938 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.007071, allocations: 0 / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.007077, allocations: 0 / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.167e-05/0.007119, allocations: 19.92 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.007431, allocations: 272.4 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.007554, allocations: 59.11 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.007584, allocations: 23.66 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.007606, allocations: 0 / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.007723, allocations: 72.92 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.007725, allocations: 0 / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003382/0.008063, allocations: 153.4 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.008097, allocations: 81.11 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.008214, allocations: 222.5 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.008227, allocations: 25.7 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.008279, allocations: 142.9 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.008311, allocations: 31.73 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.008349, allocations: 39.34 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.008466, allocations: 0.4923 MB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.008488, allocations: 8 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-05/0.008533, allocations: 76.67 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.882e-05/0.008582, allocations: 43.36 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008583, allocations: 0 / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001041/0.008687, allocations: 97.55 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.008699, allocations: 4 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.008703, allocations: 0 / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.008715, allocations: 4 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.00878, allocations: 19.92 kB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.008784, allocations: 4.469 kB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/0.008815, allocations: 8 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.008822, allocations: 4 kB / 383.4 MB, free: 13.18 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 (11): * Single equations (assignments): 11 * 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 7.478e-05/0.008897, allocations: 172.1 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.008916, allocations: 23.88 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.009066, allocations: 118.3 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.009068, allocations: 0 / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.00907, allocations: 0 / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.009073, allocations: 0 / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.009358, allocations: 377.6 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.00936, allocations: 4 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.009391, allocations: 8 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.009393, allocations: 4 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.009399, allocations: 3.984 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.009402, allocations: 11.97 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.009404, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.009547, allocations: 267.4 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.009559, allocations: 7.953 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.009578, allocations: 11.98 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.279e-05/0.009621, allocations: 0 / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.009646, allocations: 11.97 kB / 384.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.009659, allocations: 8 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.892e-05/0.009718, allocations: 160 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009718, allocations: 0 / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.00992, allocations: 55.86 kB / 384.7 MB, free: 11.88 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 (11): * Single equations (assignments): 9 * 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.001005/0.01092, allocations: 0.5475 MB / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.01103, allocations: 51.59 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01103, allocations: 0 / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.834e-05/0.01107, allocations: 39.59 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.01128, allocations: 42.36 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.01157, allocations: 210 kB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.688e-05/0.01161, allocations: 71.47 kB / 385.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.246e-05/0.01165, allocations: 20.62 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.269e-05/0.01173, allocations: 102.2 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01173, allocations: 0 / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of Templates: time 0.00426/0.01599, allocations: 2.944 MB / 388.7 MB, free: 8.035 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.012339453212917]