Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001119/0.001119, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001605/0.002724, allocations: 453.9 kB / 10.45 MB, free: 244 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.001046/0.001046, allocations: 161.1 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001437/0.002483, allocations: 475.6 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.9691/0.9691, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09983/1.069, allocations: 53.65 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.2874/0.2874, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0248/0.3122, allocations: 13.1 MB / 291.5 MB, free: 7.324 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 292.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.15e-05, allocations: 4.703 kB / 292.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003267/0.003289, allocations: 1.982 MB / 294.9 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.005137, allocations: 1.119 MB / 296 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.005253, allocations: 0 / 296 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.005719, allocations: 171.2 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004333/0.006153, allocations: 191.2 kB / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.006463, allocations: 127.4 kB / 296.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.006789, allocations: 251.2 kB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.006893, allocations: 14.62 kB / 296.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.007164, allocations: 196.8 kB / 297 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.007328, allocations: 111.7 kB / 297.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.007353, allocations: 12 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.007488, allocations: 63.86 kB / 297.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.33e-05/0.007561, allocations: 51.78 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.007615, allocations: 31.88 kB / 297.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.007899, allocations: 175.2 kB / 297.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.007914, allocations: 4 kB / 297.4 MB, free: 1.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007915, allocations: 0 / 297.4 MB, free: 1.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.007927, allocations: 0 / 297.4 MB, free: 1.598 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000671/0.008598, allocations: 491.9 kB / 297.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.008643, allocations: 16.02 kB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.008698, allocations: 16.92 kB / 297.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.008974, allocations: 209.8 kB / 298.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.008993, allocations: 4.375 kB / 298.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.009022, allocations: 8.375 kB / 298.1 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.009209, allocations: 110.4 kB / 298.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.009223, allocations: 3.938 kB / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.009238, allocations: 11.98 kB / 298.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.009245, allocations: 0 / 298.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.574e-05/0.0093, allocations: 33.58 kB / 298.3 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.009658, allocations: 300.8 kB / 298.6 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.009911, allocations: 186.6 kB / 298.8 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.009952, allocations: 25.91 kB / 298.8 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.009967, allocations: 8 kB / 298.8 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.01014, allocations: 108.4 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.01014, allocations: 4 kB / 298.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008344/0.01097, allocations: 328.1 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.01102, allocations: 81.11 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/0.01156, allocations: 288.7 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.01159, allocations: 33.7 kB / 299.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.01164, allocations: 117.2 kB / 299.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.053e-05/0.0117, allocations: 75.34 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.01176, allocations: 41.69 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.01186, allocations: 350.7 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.01191, allocations: 26.81 kB / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/0.01196, allocations: 54.03 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.01208, allocations: 110.9 kB / 300.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01208, allocations: 0 / 300.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001765/0.01226, allocations: 130.3 kB / 300.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.01227, allocations: 4 kB / 300.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01228, allocations: 9.094 kB / 300.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.0123, allocations: 4 kB / 300.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.01243, allocations: 51.91 kB / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.01243, allocations: 0 / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.01249, allocations: 15.88 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.01251, allocations: 7.984 kB / 300.6 MB, free: 14.17 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.706e-05/0.0126, allocations: 129.1 kB / 300.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.01264, allocations: 23.97 kB / 300.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.01286, allocations: 151.4 kB / 300.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.01287, allocations: 4 kB / 300.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.01287, allocations: 4 kB / 300.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.01288, allocations: 0 / 300.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.01337, allocations: 0.5555 MB / 301.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.01338, allocations: 4 kB / 301.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.666e-05/0.01346, allocations: 35.92 kB / 301.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.01349, allocations: 31.73 kB / 301.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.0135, allocations: 4 kB / 301.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.01351, allocations: 8 kB / 301.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01352, allocations: 4.125 kB / 301.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.01352, allocations: 4 kB / 301.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.01378, allocations: 423.8 kB / 302 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.01381, allocations: 8 kB / 302 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.01393, allocations: 12 kB / 302 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.01398, allocations: 23.91 kB / 302 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.014, allocations: 7.984 kB / 302 MB, free: 12.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.01412, allocations: 119.5 kB / 302.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01412, allocations: 0 / 302.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003033/0.01442, allocations: 51.92 kB / 302.2 MB, free: 12.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002216/0.01664, allocations: 0.7286 MB / 302.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.01683, allocations: 104.9 kB / 303 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/0.01685, allocations: 8 kB / 303 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.01695, allocations: 69.27 kB / 303.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.01749, allocations: 370.1 kB / 303.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.01839, allocations: 452.9 kB / 303.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.591e-05/0.01848, allocations: 104.2 kB / 304 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.01858, allocations: 37.92 kB / 304 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.01872, allocations: 91.36 kB / 304.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01872, allocations: 0 / 304.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of Templates: time 0.006173/0.0249, allocations: 3.689 MB / 307.8 MB, free: 7.203 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.904928578995168]