Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.001478/0.001478, allocations: 71.44 kB / 19.93 MB, free: 1.777 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.001684/0.001684, allocations: 168.2 kB / 23.21 MB, free: 4.898 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.653/1.653, 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.2629/0.2629, allocations: 32.38 MB / 269.6 MB, free: 4.668 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 407.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.586e-05/3.814e-05, allocations: 2.281 kB / 407.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003869/0.003907, allocations: 1.88 MB / 409.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.005459, allocations: 0.8035 MB / 410.1 MB, free: 244 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.005556, allocations: 7.938 kB / 410.1 MB, free: 236 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.005894, allocations: 47.69 kB / 410.2 MB, free: 188 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.006144, allocations: 63.58 kB / 410.2 MB, free: 124 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.006463, allocations: 103.6 kB / 410.3 MB, free: 20 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.006737, allocations: 151.5 kB / 410.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.006849, allocations: 17.67 kB / 410.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.006985, allocations: 71.75 kB / 410.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.007098, allocations: 43.88 kB / 410.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.007128, allocations: 12 kB / 410.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.007233, allocations: 39.94 kB / 410.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.54e-05/0.007309, allocations: 35.83 kB / 410.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.007371, allocations: 23.88 kB / 410.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.007638, allocations: 151.4 kB / 410.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.007641, allocations: 0 / 410.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.007642, allocations: 0 / 410.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.007647, allocations: 0 / 410.9 MB, free: 15.48 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.0007425/0.00839, allocations: 411.1 kB / 411.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.008428, allocations: 8.031 kB / 411.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.192e-05/0.00849, allocations: 20.84 kB / 411.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.008815, allocations: 165.5 kB / 411.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.008833, allocations: 4.375 kB / 411.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.008859, allocations: 8.375 kB / 411.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.009147, allocations: 138.4 kB / 411.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.009159, allocations: 3.938 kB / 411.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.009175, allocations: 4 kB / 411.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.009182, allocations: 4 kB / 411.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.009346, allocations: 51.91 kB / 411.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.009966, allocations: 444.7 kB / 412.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.01035, allocations: 90.58 kB / 412.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.01045, allocations: 36.83 kB / 412.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.01047, allocations: 4 kB / 412.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.01068, allocations: 109 kB / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.01068, allocations: 4 kB / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004366/0.01111, allocations: 145.5 kB / 412.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.01116, allocations: 59.34 kB / 412.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.01138, allocations: 191.5 kB / 412.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.01141, allocations: 33.7 kB / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.01151, allocations: 112 kB / 412.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.01154, allocations: 35.73 kB / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.0116, allocations: 25.72 kB / 412.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.01176, allocations: 334.8 kB / 413.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.365e-05/0.01185, allocations: 32.11 kB / 413.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.01197, allocations: 68.27 kB / 413.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.01219, allocations: 100.5 kB / 413.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.0122, allocations: 0 / 413.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003005/0.0125, allocations: 141.4 kB / 413.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.01252, allocations: 7.984 kB / 413.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.01252, allocations: 4 kB / 413.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.01254, allocations: 0 / 413.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.01265, allocations: 31.92 kB / 413.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01266, allocations: 0 / 413.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.112e-05/0.01273, allocations: 7.953 kB / 413.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.01274, allocations: 4 kB / 413.6 MB, free: 12.45 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.0001338/0.01288, allocations: 145.8 kB / 413.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.01291, allocations: 11.91 kB / 413.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.01323, allocations: 131.1 kB / 413.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01323, allocations: 0 / 413.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01324, allocations: 0 / 413.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01324, allocations: 0 / 413.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.0134, allocations: 157.1 kB / 414.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.0134, allocations: 0 / 414.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.919e-05/0.01349, allocations: 15.98 kB / 414.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01349, allocations: 0 / 414.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.01351, allocations: 8 kB / 414.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01351, allocations: 0 / 414.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01351, allocations: 0 / 414.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.01396, allocations: 201 kB / 414.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.01399, allocations: 11.94 kB / 414.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.01402, allocations: 7.938 kB / 414.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/0.01409, allocations: 7.984 kB / 414.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.01413, allocations: 7.984 kB / 414.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.01415, allocations: 4 kB / 414.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.0143, allocations: 153.2 kB / 414.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.0143, allocations: 0 / 414.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.01454, allocations: 27.94 kB / 414.5 MB, free: 11.52 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.001694/0.01624, allocations: 430.9 kB / 414.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.01651, allocations: 83.83 kB / 415 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01651, allocations: 0 / 415 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.01662, allocations: 40.17 kB / 415.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.01697, allocations: 55.77 kB / 415.1 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.01755, allocations: 258.2 kB / 415.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.01766, allocations: 98.77 kB / 415.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.168e-05/0.01772, allocations: 21.14 kB / 415.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.01776, allocations: 16.5 kB / 415.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01776, allocations: 0 / 415.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Templates: time 0.006457/0.02422, allocations: 2.047 MB / 417.5 MB, free: 8.555 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.218291766941547]