Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.0007787/0.0007787, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007424/0.0007424, allocations: 166.3 kB / 23.96 MB, free: 0.6055 MB / 18.57 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 0.827/0.827, allocations: 158.6 MB / 185.7 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] 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.1262/0.1262, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 408.2 MB, free: 1.664 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3e-05, allocations: 2.281 kB / 408.2 MB, free: 1.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002373/0.002403, allocations: 1.683 MB / 409.9 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009334/0.003337, allocations: 0.7803 MB / 410.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.566e-05/0.003412, allocations: 4 kB / 410.7 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.003715, allocations: 39.81 kB / 410.7 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.003925, allocations: 59.64 kB / 410.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.004145, allocations: 91.69 kB / 410.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.004303, allocations: 95.7 kB / 410.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.004396, allocations: 8.219 kB / 410.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.876e-05/0.004485, allocations: 59.77 kB / 411 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.004554, allocations: 19.92 kB / 411 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.004572, allocations: 4 kB / 411 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-05/0.004648, allocations: 43.92 kB / 411.1 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.004702, allocations: 23.91 kB / 411.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.004739, allocations: 15.94 kB / 411.1 MB, free: 14.72 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.004923, allocations: 119.5 kB / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.004927, allocations: 0 / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.004928, allocations: 7.938 kB / 411.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.004933, allocations: 0 / 411.2 MB, free: 14.59 MB / 394.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.0004423/0.005375, allocations: 329.6 kB / 411.5 MB, free: 14.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.005414, allocations: 12.03 kB / 411.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.005456, allocations: 16.83 kB / 411.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.005662, allocations: 146.2 kB / 411.7 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.005674, allocations: 4.375 kB / 411.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.005693, allocations: 384 / 411.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.005822, allocations: 58.23 kB / 411.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.005832, allocations: 7.938 kB / 411.8 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.005841, allocations: 4 kB / 411.8 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.005845, allocations: 0 / 411.8 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.236e-05/0.005898, allocations: 23.98 kB / 411.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.006203, allocations: 228.5 kB / 412 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.006325, allocations: 54.67 kB / 412.1 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.006362, allocations: 20.8 kB / 412.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.006377, allocations: 4 kB / 412.1 MB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.006504, allocations: 71.31 kB / 412.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.006506, allocations: 4 kB / 412.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004331/0.006939, allocations: 193.3 kB / 412.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.006972, allocations: 59.34 kB / 412.4 MB, free: 13.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.007096, allocations: 194.2 kB / 412.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.007107, allocations: 25.7 kB / 412.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.007152, allocations: 96.14 kB / 412.7 MB, free: 12.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.007177, allocations: 23.84 kB / 412.8 MB, free: 12.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.00721, allocations: 25.72 kB / 412.8 MB, free: 12.87 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.905e-05/0.007289, allocations: 322.8 kB / 413.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/0.007328, allocations: 19.98 kB / 413.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.716e-05/0.007375, allocations: 41.7 kB / 413.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.343e-05/0.007449, allocations: 65.58 kB / 413.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.00745, allocations: 0 / 413.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001162/0.007566, allocations: 105.6 kB / 413.3 MB, free: 12.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.007579, allocations: 4 kB / 413.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.007585, allocations: 0 / 413.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.007597, allocations: 4 kB / 413.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.007664, allocations: 15.94 kB / 413.4 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.007669, allocations: 4.359 kB / 413.4 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.007701, allocations: 11.98 kB / 413.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.00771, allocations: 11.94 kB / 413.4 MB, free: 12.25 MB / 394.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.976e-05/0.007779, allocations: 125.7 kB / 413.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.007792, allocations: 11.94 kB / 413.5 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.007958, allocations: 118.4 kB / 413.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.007961, allocations: 4 kB / 413.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.007965, allocations: 0 / 413.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007968, allocations: 0 / 413.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.008252, allocations: 351.3 kB / 414 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.008254, allocations: 0 / 414 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.648e-05/0.00828, allocations: 15.98 kB / 414 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.008284, allocations: 4 kB / 414 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.008294, allocations: 4 kB / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.008296, allocations: 0 / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.008299, allocations: 4 kB / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.008436, allocations: 208.2 kB / 414.2 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.008449, allocations: 15.89 kB / 414.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.008466, allocations: 7.984 kB / 414.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.698e-05/0.008503, allocations: 7.969 kB / 414.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.008535, allocations: 15.92 kB / 414.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.008549, allocations: 4 kB / 414.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.469e-05/0.008623, allocations: 148 kB / 414.4 MB, free: 11.15 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008624, allocations: 0 / 414.4 MB, free: 11.15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000171/0.008794, allocations: 20 kB / 414.4 MB, free: 11.13 MB / 394.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.000741/0.009535, allocations: 496.5 kB / 414.9 MB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.009666, allocations: 55.91 kB / 415 MB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009667, allocations: 0 / 415 MB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.369e-05/0.009711, allocations: 39.91 kB / 415 MB, free: 10.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.009943, allocations: 23.97 kB / 415 MB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.01031, allocations: 252.2 kB / 415.3 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.14e-05/0.01038, allocations: 88.44 kB / 415.4 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.01041, allocations: 24.48 kB / 415.4 MB, free: 10.14 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01041, allocations: 0 / 415.4 MB, free: 10.14 MB / 394.7 MB Notification: Performance of Templates: time 0.002662/0.01307, allocations: 1.957 MB / 417.3 MB, free: 8.176 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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: 4.626245922408998]