Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.001437/0.001437, allocations: 71.77 kB / 19.93 MB, free: 1.77 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.001781/0.001781, allocations: 168.9 kB / 23.21 MB, free: 4.887 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.643/1.643, allocations: 158.6 MB / 185 MB, free: 6.406 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.2513/0.2513, allocations: 32.37 MB / 269.6 MB, free: 4.66 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 407.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.979e-05/5.179e-05, allocations: 2.281 kB / 407.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.005003/0.005055, allocations: 1.887 MB / 409.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.006855, allocations: 0.8035 MB / 410.1 MB, free: 220 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.00696, allocations: 8 kB / 410.1 MB, free: 212 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.007355, allocations: 47.64 kB / 410.2 MB, free: 164 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000439/0.007794, allocations: 63.56 kB / 410.2 MB, free: 100 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.008182, allocations: 107.1 kB / 410.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.008522, allocations: 139.4 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.008682, allocations: 21.67 kB / 410.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.008833, allocations: 71.81 kB / 410.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.008956, allocations: 31.89 kB / 410.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.008993, allocations: 12 kB / 410.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.009119, allocations: 47.92 kB / 410.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.865e-05/0.009208, allocations: 31.78 kB / 410.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.931e-05/0.009297, allocations: 35.8 kB / 410.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.009672, allocations: 151.4 kB / 410.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.009677, allocations: 0 / 410.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.009679, allocations: 0 / 410.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.009693, allocations: 0 / 410.9 MB, free: 15.46 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001099/0.01079, allocations: 399.1 kB / 411.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.092e-05/0.01086, allocations: 16.03 kB / 411.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.52e-05/0.01095, allocations: 16.83 kB / 411.3 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.01145, allocations: 165.5 kB / 411.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.01148, allocations: 4.375 kB / 411.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.01152, allocations: 12.36 kB / 411.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.01192, allocations: 134.4 kB / 411.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.01194, allocations: 7.875 kB / 411.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.01196, allocations: 4 kB / 411.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.01197, allocations: 0 / 411.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.01216, allocations: 55.95 kB / 411.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008382/0.013, allocations: 444.7 kB / 412.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.01348, allocations: 86.66 kB / 412.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.01359, allocations: 40.83 kB / 412.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.01362, allocations: 3.938 kB / 412.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.01391, allocations: 109 kB / 412.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.01391, allocations: 4 kB / 412.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006094/0.01452, allocations: 145.5 kB / 412.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.01457, allocations: 55.34 kB / 412.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.0148, allocations: 195.6 kB / 412.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.01482, allocations: 25.7 kB / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.01495, allocations: 120 kB / 412.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.01499, allocations: 31.73 kB / 412.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.01505, allocations: 26.09 kB / 412.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003259/0.01537, allocations: 330.8 kB / 413.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.01547, allocations: 31.97 kB / 413.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.01562, allocations: 76.34 kB / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.01585, allocations: 104.1 kB / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01585, allocations: 0 / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003004/0.01615, allocations: 137.4 kB / 413.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.01617, allocations: 8 kB / 413.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.01618, allocations: 0 / 413.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.0162, allocations: 4 kB / 413.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.01631, allocations: 23.92 kB / 413.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.01632, allocations: 4 kB / 413.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.796e-05/0.0164, allocations: 15.94 kB / 413.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.01641, allocations: 4 kB / 413.7 MB, free: 12.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000145/0.01656, allocations: 133.8 kB / 413.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.01659, allocations: 15.91 kB / 413.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.01692, allocations: 135 kB / 413.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.01693, allocations: 4 kB / 413.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01693, allocations: 0 / 413.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01693, allocations: 0 / 413.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.01713, allocations: 153.2 kB / 414.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01713, allocations: 0 / 414.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.337e-05/0.01721, allocations: 12 kB / 414.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.01721, allocations: 7.938 kB / 414.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.01723, allocations: 4.172 kB / 414.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01723, allocations: 0 / 414.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01723, allocations: 3.938 kB / 414.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.01767, allocations: 192.9 kB / 414.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.01769, allocations: 15.92 kB / 414.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.01772, allocations: 7.938 kB / 414.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.376e-05/0.01778, allocations: 8 kB / 414.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.01783, allocations: 3.984 kB / 414.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.01785, allocations: 8.062 kB / 414.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.018, allocations: 149.1 kB / 414.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.018, allocations: 0 / 414.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.01824, allocations: 31.92 kB / 414.5 MB, free: 11.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001847/0.02009, allocations: 430.1 kB / 414.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.02039, allocations: 83.83 kB / 415 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02039, allocations: 256 / 415 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.02055, allocations: 39.98 kB / 415.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.02093, allocations: 47.83 kB / 415.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007034/0.02164, allocations: 266.1 kB / 415.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.02176, allocations: 98.77 kB / 415.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.805e-05/0.02182, allocations: 17.14 kB / 415.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.02188, allocations: 24.48 kB / 415.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.02188, allocations: 0 / 415.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Templates: time 0.006365/0.02824, allocations: 2.038 MB / 417.5 MB, free: 8.543 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.3107680529356]