Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001109/0.001109, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001657/0.001657, allocations: 170.3 kB / 24.82 MB, free: 9.266 MB / 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 1.071/1.071, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.3278/0.3278, allocations: 34.26 MB / 296.1 MB, free: 0.6602 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 378.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.432e-05, allocations: 6.25 kB / 378.6 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002539/0.002563, allocations: 1.75 MB / 380.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.004103, allocations: 1.005 MB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.004206, allocations: 0 / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.004541, allocations: 55.69 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.004898, allocations: 95.55 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.005173, allocations: 83.59 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.005373, allocations: 115.6 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.005469, allocations: 4 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.005571, allocations: 59.77 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.313e-05/0.005654, allocations: 23.91 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.005673, allocations: 8 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.005778, allocations: 43.92 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.005845, allocations: 27.86 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.005892, allocations: 27.91 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.006091, allocations: 115.6 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.006093, allocations: 0 / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.006095, allocations: 0 / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.006099, allocations: 0 / 382 MB, free: 14.85 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005389/0.006638, allocations: 479.5 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.00669, allocations: 12.02 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.006731, allocations: 16.84 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.006921, allocations: 165.2 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.006944, allocations: 4.375 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.006963, allocations: 4.375 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.007114, allocations: 62.94 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.007129, allocations: 3.938 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.007139, allocations: 0 / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.007148, allocations: 4 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.139e-05/0.007179, allocations: 11.92 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.007479, allocations: 264.4 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.575e-05/0.007575, allocations: 51.14 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.007602, allocations: 15.69 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.007622, allocations: 0 / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.007725, allocations: 76.86 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.007727, allocations: 3.984 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003731/0.0081, allocations: 141.4 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.008131, allocations: 55.39 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.008294, allocations: 269.6 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.00831, allocations: 29.7 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.008385, allocations: 162.8 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.008417, allocations: 27.78 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.008454, allocations: 31.36 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.008626, allocations: 0.5001 MB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.008647, allocations: 15.98 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.319e-05/0.008681, allocations: 31.36 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.736e-05/0.008738, allocations: 47.36 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008739, allocations: 0 / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001119/0.008851, allocations: 101.4 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.008866, allocations: 6.344 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.008872, allocations: 0 / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.008887, allocations: 4 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.051e-05/0.008957, allocations: 16.36 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.008962, allocations: 4.031 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.008995, allocations: 8 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.009001, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.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 9.727e-05/0.009098, allocations: 164.6 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.009117, allocations: 19.84 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.009263, allocations: 107.1 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.009265, allocations: 0 / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.009267, allocations: 0 / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.00927, allocations: 0 / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.009571, allocations: 369.6 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.009574, allocations: 3.984 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.009602, allocations: 11.94 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.009606, allocations: 4 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.009614, allocations: 4 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.009615, allocations: 0 / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009617, allocations: 0 / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.009785, allocations: 263.3 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.0098, allocations: 15.84 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.009822, allocations: 7.984 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.998e-05/0.009862, allocations: 8.031 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.009893, allocations: 7.984 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.009907, allocations: 4 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.01001, allocations: 180.5 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01001, allocations: 0 / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001886/0.0102, allocations: 27.94 kB / 385.7 MB, free: 10.8 MB / 362.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.001032/0.01123, allocations: 445.7 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.01134, allocations: 47.59 kB / 386.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01134, allocations: 4.062 kB / 386.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.188e-05/0.01138, allocations: 35.61 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.01162, allocations: 30.48 kB / 386.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.01203, allocations: 262.5 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.005e-05/0.01209, allocations: 71.33 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.656e-05/0.01212, allocations: 12.98 kB / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.411e-05/0.0122, allocations: 90.19 kB / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of SimCode: time 6.22e-07/0.0122, allocations: 4.062 kB / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of Templates: time 0.00392/0.01612, allocations: 2.062 MB / 388.8 MB, free: 7.887 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.3471693783067167]