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.0009061/0.0009061, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001036/0.001036, allocations: 170.3 kB / 24.91 MB, free: 8.723 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 0.9996/0.9996, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.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.2613/0.2613, allocations: 34.25 MB / 296.1 MB, free: 0.6055 MB / 266.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.422e-06/1.422e-06, allocations: 3.938 kB / 325.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.096e-05, allocations: 2.312 kB / 325.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.009107/0.009128, allocations: 1.796 MB / 327.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.01056, allocations: 1.017 MB / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00308/0.01364, allocations: 0 / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.01391, allocations: 43.7 kB / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.01417, allocations: 111.5 kB / 328.4 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.01434, allocations: 75.67 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.01449, allocations: 107.6 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.525e-05/0.01456, allocations: 11.98 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.063e-05/0.01465, allocations: 51.83 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/0.01473, allocations: 27.91 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.01474, allocations: 4 kB / 328.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.2e-05/0.01482, allocations: 51.86 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.01487, allocations: 23.92 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.01491, allocations: 28.34 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.01507, allocations: 115.6 kB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.01507, allocations: 3.938 kB / 328.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.01508, allocations: 0 / 328.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.01508, allocations: 0 / 328.8 MB, free: 4.066 MB / 298.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.0003757/0.01545, allocations: 357.2 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.01549, allocations: 12.03 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.01552, allocations: 8.922 kB / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.01568, allocations: 153.6 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.01569, allocations: 384 / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.01571, allocations: 4.375 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.87e-05/0.01581, allocations: 65.77 kB / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.01582, allocations: 7.938 kB / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.01582, allocations: 0 / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.01583, allocations: 4 kB / 329.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.563e-05/0.01585, allocations: 7.984 kB / 329.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.01606, allocations: 177.8 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.96e-05/0.01615, allocations: 89.34 kB / 329.7 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.01617, allocations: 12.86 kB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.01618, allocations: 0 / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.352e-05/0.01626, allocations: 66.16 kB / 329.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.01626, allocations: 3.984 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.003293/0.01956, allocations: 113.5 kB / 329.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.01959, allocations: 55.34 kB / 330 MB, free: 2.832 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.01975, allocations: 224.9 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.01976, allocations: 33.7 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.0198, allocations: 96.11 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.01983, allocations: 35.7 kB / 330.3 MB, free: 2.426 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.01986, allocations: 17.72 kB / 330.4 MB, free: 2.402 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.01995, allocations: 334.8 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.01997, allocations: 14.83 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.51e-05/0.02, allocations: 17.72 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.106e-05/0.02005, allocations: 48.44 kB / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.02005, allocations: 0 / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.789e-05/0.02014, allocations: 68.44 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.02015, allocations: 8 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.02015, allocations: 0 / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.02017, allocations: 0 / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.85e-05/0.02023, allocations: 19.92 kB / 330.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.02024, allocations: 8.031 kB / 330.9 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.261e-05/0.02027, allocations: 8 kB / 330.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.02028, allocations: 4 kB / 330.9 MB, free: 1.852 MB / 298.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 6.304e-05/0.02034, allocations: 112.7 kB / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.02036, allocations: 16.3 kB / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.02047, allocations: 83.06 kB / 331.1 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.02047, allocations: 0 / 331.1 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.02047, allocations: 0 / 331.1 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.02048, allocations: 4 kB / 331.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.02071, allocations: 307.5 kB / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.02072, allocations: 0 / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.02074, allocations: 8 kB / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.02075, allocations: 4 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.02075, allocations: 4 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.02075, allocations: 0 / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.02076, allocations: 0 / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.02087, allocations: 223 kB / 331.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.02088, allocations: 11.91 kB / 331.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.0209, allocations: 8 kB / 331.6 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.66e-05/0.02096, allocations: 3.984 kB / 331.6 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.02098, allocations: 8.031 kB / 331.7 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.02099, allocations: 7.984 kB / 331.7 MB, free: 1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.305e-05/0.02107, allocations: 81.73 kB / 331.7 MB, free: 0.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02107, allocations: 0 / 331.7 MB, free: 0.918 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.02128, allocations: 35.86 kB / 331.8 MB, free: 0.8789 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.004422/0.0257, allocations: 0.5685 MB / 332.3 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.206e-05/0.02579, allocations: 44.78 kB / 332.4 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.0258, allocations: 0 / 332.4 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.02583, allocations: 24.84 kB / 332.4 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.02605, allocations: 31.88 kB / 332.4 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.0264, allocations: 280.2 kB / 332.7 MB, free: 208 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.925e-05/0.02645, allocations: 75.33 kB / 332.8 MB, free: 112 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.116e-05/0.02649, allocations: 17.27 kB / 332.8 MB, free: 92 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/0.02656, allocations: 67.36 kB / 332.9 MB, free: 24 kB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02656, allocations: 0 / 332.9 MB, free: 24 kB / 298.7 MB Notification: Performance of Templates: time 0.004396/0.03096, allocations: 2.041 MB / 334.9 MB, free: 14.02 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8660246464423835]