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.001162/0.001162, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00161/0.002772, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007366/0.0007366, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009997/0.001736, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.012/1.012, allocations: 158.6 MB / 171 MB, free: 2.57 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2061/1.218, allocations: 49.49 MB / 220.5 MB, free: 1.453 MB / 218.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.1426/0.1426, allocations: 32.36 MB / 253.6 MB, free: 324 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02609/0.1687, allocations: 12.29 MB / 265.9 MB, free: 3.992 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.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.573e-06/1.573e-06, allocations: 0 / 267.3 MB, free: 2.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.094e-05, allocations: 6.25 kB / 267.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002979/0.003009, allocations: 1.97 MB / 269.3 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.004315, allocations: 0.8503 MB / 270.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.004444, allocations: 0 / 270.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.004718, allocations: 47.58 kB / 270.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.004903, allocations: 59.62 kB / 270.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.005145, allocations: 107.7 kB / 270.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.005344, allocations: 135.6 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.005453, allocations: 34.2 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.005589, allocations: 100.5 kB / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.215e-05/0.005681, allocations: 31.91 kB / 270.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.005704, allocations: 8 kB / 270.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-05/0.005795, allocations: 47.91 kB / 270.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.005851, allocations: 27.86 kB / 270.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.005895, allocations: 19.94 kB / 270.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.006139, allocations: 119.5 kB / 270.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.149e-05/0.00616, allocations: 4 kB / 270.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.006162, allocations: 4 kB / 270.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.006182, allocations: 3.938 kB / 270.8 MB, free: 15.03 MB / 282.7 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.0006673/0.00685, allocations: 397.4 kB / 271.2 MB, free: 14.61 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.006897, allocations: 8.031 kB / 271.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.006956, allocations: 12.92 kB / 271.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.007194, allocations: 161.5 kB / 271.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.007216, allocations: 4.375 kB / 271.4 MB, free: 14.4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.007245, allocations: 12.12 kB / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.007448, allocations: 145.4 kB / 271.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.007456, allocations: 3.938 kB / 271.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.007465, allocations: 0 / 271.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.007471, allocations: 0 / 271.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.674e-05/0.007518, allocations: 18.83 kB / 271.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.007939, allocations: 378.1 kB / 272 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.008143, allocations: 105.3 kB / 272.1 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.00817, allocations: 20.84 kB / 272.1 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.008187, allocations: 4 kB / 272.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.00832, allocations: 99.83 kB / 272.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.774e-06/0.008322, allocations: 0 / 272.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001742/0.008496, allocations: 73.61 kB / 272.3 MB, free: 13.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.008533, allocations: 51.41 kB / 272.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.00866, allocations: 189 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.008679, allocations: 25.7 kB / 272.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.008738, allocations: 108 kB / 272.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.008764, allocations: 31.72 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.008806, allocations: 37.64 kB / 272.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.00891, allocations: 334.7 kB / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.008937, allocations: 10.83 kB / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.008978, allocations: 40.3 kB / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.402e-05/0.009052, allocations: 77.8 kB / 273.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.009055, allocations: 0 / 273.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001123/0.009168, allocations: 96.69 kB / 273.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.009184, allocations: 4 kB / 273.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.00919, allocations: 0 / 273.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.009205, allocations: 11.98 kB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.967e-05/0.009285, allocations: 20 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.009291, allocations: 3.984 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.709e-05/0.009328, allocations: 19.94 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.009336, allocations: 3.938 kB / 273.3 MB, free: 12.33 MB / 282.7 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 8.194e-05/0.009418, allocations: 124.5 kB / 273.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.009432, allocations: 16.11 kB / 273.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.009588, allocations: 79.06 kB / 273.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.009594, allocations: 4 kB / 273.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.009596, allocations: 0 / 273.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.009601, allocations: 0 / 273.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.009724, allocations: 101.8 kB / 273.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.009726, allocations: 0 / 273.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.009798, allocations: 12 kB / 273.6 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.009819, allocations: 15.89 kB / 273.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.009822, allocations: 0 / 273.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.009834, allocations: 4 kB / 273.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.009837, allocations: 7.984 kB / 273.7 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.009839, allocations: 0 / 273.7 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.009998, allocations: 114.6 kB / 273.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.01002, allocations: 4 kB / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.01005, allocations: 7.984 kB / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.01008, allocations: 7.984 kB / 273.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.0101, allocations: 0 / 273.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.463e-05/0.01014, allocations: 53.61 kB / 273.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01014, allocations: 3.938 kB / 273.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.01028, allocations: 27.94 kB / 273.9 MB, free: 11.7 MB / 282.7 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.001127/0.0114, allocations: 0.5548 MB / 274.4 MB, free: 11.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.01151, allocations: 48.77 kB / 274.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.01152, allocations: 0 / 274.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.97e-05/0.01156, allocations: 32.97 kB / 274.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.01177, allocations: 48.03 kB / 274.6 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007463/0.01252, allocations: 264.4 kB / 274.8 MB, free: 10.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.209e-05/0.01256, allocations: 63.84 kB / 274.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.089e-05/0.01261, allocations: 17.14 kB / 274.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.379e-05/0.0127, allocations: 75.36 kB / 275 MB, free: 10.54 MB / 282.7 MB Notification: Performance of SimCode: time 1.573e-06/0.0127, allocations: 0 / 275 MB, free: 10.54 MB / 282.7 MB Notification: Performance of Templates: time 0.004727/0.01743, allocations: 2.26 MB / 277.2 MB, free: 8.281 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] 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","",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.974082958884537]