Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.001448/0.001448, allocations: 74.66 kB / 19.93 MB, free: 1.781 MB / 14.72 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.001392/0.001392, allocations: 164.3 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.241/0.241, allocations: 32.37 MB / 269.6 MB, free: 4.672 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 407.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.656e-05/4.911e-05, allocations: 2.281 kB / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.004903/0.004952, allocations: 1.685 MB / 409.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.006954, allocations: 0.7724 MB / 409.9 MB, free: 476 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.007124, allocations: 7.938 kB / 409.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005559/0.007679, allocations: 103.7 kB / 410 MB, free: 364 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.008084, allocations: 91.62 kB / 410.1 MB, free: 272 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.00848, allocations: 87.03 kB / 410.2 MB, free: 188 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.008817, allocations: 123.6 kB / 410.3 MB, free: 64 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.008953, allocations: 8.234 kB / 410.3 MB, free: 56 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.009163, allocations: 59.92 kB / 410.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.009329, allocations: 63.73 kB / 410.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.009357, allocations: 4 kB / 410.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.009504, allocations: 39.94 kB / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.851e-05/0.009593, allocations: 31.86 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.00967, allocations: 23.91 kB / 410.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.01002, allocations: 115.6 kB / 410.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.01003, allocations: 7.922 kB / 410.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01003, allocations: 0 / 410.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.01004, allocations: 4 kB / 410.7 MB, free: 15.71 MB / 350.1 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.0008272/0.01087, allocations: 365.4 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.01092, allocations: 8.031 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.856e-05/0.01099, allocations: 12.89 kB / 411 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.01145, allocations: 154.3 kB / 411.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.01147, allocations: 384 / 411.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.0115, allocations: 8.328 kB / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.01172, allocations: 54.23 kB / 411.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.01174, allocations: 3.938 kB / 411.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.01175, allocations: 4 kB / 411.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.01176, allocations: 0 / 411.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.777e-05/0.01186, allocations: 23.98 kB / 411.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.01239, allocations: 236.6 kB / 411.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.01264, allocations: 54.62 kB / 411.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.997e-05/0.01272, allocations: 28.78 kB / 411.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.01274, allocations: 4 kB / 411.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.01293, allocations: 63.39 kB / 411.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.01293, allocations: 3.938 kB / 411.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007542/0.01368, allocations: 193.3 kB / 411.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.01374, allocations: 51.41 kB / 411.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.01404, allocations: 254 kB / 412.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.01406, allocations: 25.7 kB / 412.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.01417, allocations: 112.1 kB / 412.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.01422, allocations: 23.84 kB / 412.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.01428, allocations: 29.66 kB / 412.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.01447, allocations: 322.8 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.85e-05/0.01454, allocations: 23.98 kB / 412.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.01462, allocations: 37.7 kB / 412.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.01476, allocations: 65.64 kB / 412.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.01476, allocations: 0 / 412.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002351/0.01499, allocations: 109.6 kB / 412.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.01501, allocations: 8 kB / 412.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01502, allocations: 0 / 412.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.01504, allocations: 3.984 kB / 412.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.01514, allocations: 16.19 kB / 412.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.793e-05/0.01517, allocations: 7.938 kB / 412.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.01523, allocations: 11.95 kB / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.01524, allocations: 4 kB / 412.9 MB, free: 13.25 MB / 350.1 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 0.000142/0.01538, allocations: 136 kB / 413.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.01542, allocations: 15.91 kB / 413.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.01571, allocations: 127 kB / 413.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01572, allocations: 0 / 413.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01572, allocations: 0 / 413.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01572, allocations: 0 / 413.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005478/0.01627, allocations: 358.9 kB / 413.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.01628, allocations: 4 kB / 413.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.01632, allocations: 8 kB / 413.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.01633, allocations: 3.984 kB / 413.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.01634, allocations: 0 / 413.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.01635, allocations: 4.375 kB / 413.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01635, allocations: 0 / 413.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.0167, allocations: 216.2 kB / 413.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.01673, allocations: 15.91 kB / 413.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.01676, allocations: 11.92 kB / 413.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.01684, allocations: 4.031 kB / 413.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.01689, allocations: 11.98 kB / 413.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.01691, allocations: 4 kB / 413.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.01713, allocations: 188.3 kB / 414 MB, free: 12.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01713, allocations: 0 / 414 MB, free: 12.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003789/0.01751, allocations: 20 kB / 414 MB, free: 12.08 MB / 350.1 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.002045/0.01955, allocations: 496.5 kB / 414.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.01977, allocations: 55.91 kB / 414.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.01977, allocations: 0 / 414.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.022e-05/0.01986, allocations: 31.98 kB / 414.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.02025, allocations: 35.39 kB / 414.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.02097, allocations: 278.5 kB / 414.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.02111, allocations: 104.9 kB / 415 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.955e-05/0.02117, allocations: 12.48 kB / 415 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.02121, allocations: 20.44 kB / 415 MB, free: 11.09 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.02122, allocations: 0 / 415 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Templates: time 0.006918/0.02813, allocations: 1.839 MB / 416.9 MB, free: 9.266 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.289874870330095]