Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.0009638/0.0009638, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001567/0.001567, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9552/0.9552, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2534/0.2534, allocations: 34.26 MB / 295.7 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.936e-05, allocations: 2.312 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002587/0.002616, allocations: 1.953 MB / 380.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.004057, allocations: 1.103 MB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.004157, allocations: 3.938 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.004583, allocations: 223.2 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004351/0.005018, allocations: 223 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.005275, allocations: 123.5 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.005567, allocations: 263.2 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.005683, allocations: 17.95 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.005857, allocations: 143.7 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.006016, allocations: 155.6 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.006038, allocations: 11.94 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.006154, allocations: 67.91 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.259e-05/0.006227, allocations: 59.78 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.006286, allocations: 47.78 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.006541, allocations: 195.2 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.006544, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006545, allocations: 4 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.00655, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000591/0.007141, allocations: 0.6079 MB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.00718, allocations: 8.031 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.121e-05/0.007252, allocations: 40.73 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.007503, allocations: 220.6 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.007522, allocations: 4.375 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.007556, allocations: 8.375 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.007739, allocations: 114.3 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.007752, allocations: 11.89 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.007764, allocations: 4 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.007773, allocations: 4 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.893e-05/0.007832, allocations: 27.91 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.008283, allocations: 0.514 MB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.008532, allocations: 122.1 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.972e-05/0.008581, allocations: 39.48 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.008597, allocations: 0 / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.008741, allocations: 120.1 kB / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.008743, allocations: 4 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008806/0.009623, allocations: 476.6 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.009664, allocations: 85.05 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.009923, allocations: 394.3 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.009944, allocations: 33.7 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.493e-05/0.01004, allocations: 215.3 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.597e-05/0.01009, allocations: 83.41 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.01015, allocations: 47.36 kB / 385.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.01027, allocations: 0.5235 MB / 386.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.01033, allocations: 31.98 kB / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.311e-05/0.0104, allocations: 82.66 kB / 386.5 MB, free: 9.934 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.01053, allocations: 122.8 kB / 386.6 MB, free: 9.797 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.01053, allocations: 0 / 386.6 MB, free: 9.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002261/0.01076, allocations: 209.3 kB / 386.8 MB, free: 9.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.01077, allocations: 8 kB / 386.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.01078, allocations: 0 / 386.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.01079, allocations: 7.984 kB / 386.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.01089, allocations: 35.98 kB / 386.8 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.0109, allocations: 11.88 kB / 386.8 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.01094, allocations: 8 kB / 386.9 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.01096, allocations: 9.156 kB / 386.9 MB, free: 9.508 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.203e-05/0.01105, allocations: 172.6 kB / 387 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.01108, allocations: 43.77 kB / 387.1 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.01137, allocations: 232.4 kB / 387.3 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.01138, allocations: 4 kB / 387.3 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01138, allocations: 3.938 kB / 387.3 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.01138, allocations: 3.984 kB / 387.3 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.01197, allocations: 0.7528 MB / 388.1 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01197, allocations: 0 / 388.1 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.01203, allocations: 39.92 kB / 388.1 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.01204, allocations: 128 / 388.1 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.01205, allocations: 8 kB / 388.1 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01205, allocations: 7.938 kB / 388.1 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.01205, allocations: 4 kB / 388.1 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.01237, allocations: 0.5198 MB / 388.6 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.0124, allocations: 31.77 kB / 388.7 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.01243, allocations: 8 kB / 388.7 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.01251, allocations: 7.984 kB / 388.7 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.01256, allocations: 19.97 kB / 388.7 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.01258, allocations: 16 kB / 388.7 MB, free: 7.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.01275, allocations: 274.9 kB / 389 MB, free: 7.266 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.01275, allocations: 4 kB / 389 MB, free: 7.262 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.01302, allocations: 51.92 kB / 389.1 MB, free: 7.211 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001016/0.01403, allocations: 487.5 kB / 389.5 MB, free: 6.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.01425, allocations: 136 kB / 389.7 MB, free: 6.781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01426, allocations: 0 / 389.7 MB, free: 6.781 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.01434, allocations: 79.52 kB / 389.7 MB, free: 6.699 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.01471, allocations: 79.19 kB / 389.8 MB, free: 6.629 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.01532, allocations: 0.4895 MB / 390.3 MB, free: 6.086 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.398e-05/0.0154, allocations: 104.7 kB / 390.4 MB, free: 5.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.065e-05/0.01547, allocations: 33.94 kB / 390.4 MB, free: 5.934 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.01552, allocations: 32.48 kB / 390.5 MB, free: 5.902 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01553, allocations: 0 / 390.5 MB, free: 5.902 MB / 362.7 MB Notification: Performance of Templates: time 0.005461/0.02099, allocations: 3.341 MB / 393.8 MB, free: 2.605 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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: 3.2856485983356833]