Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001827/0.001827, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001465/0.001465, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 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.417/1.417, allocations: 230.6 MB / 258.3 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] 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.2336/0.2336, allocations: 46.94 MB / 361.6 MB, free: 4.312 MB / 286.1 MB " [Timeout remaining time 179] 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.89 kB / 0.4975 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3958, allocations: 66.02 MB / 0.5619 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003561/0.3993, allocations: 1.745 MB / 0.5636 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.4012, allocations: 1.052 MB / 0.5647 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.767e-05/0.4013, allocations: 11.94 kB / 0.5647 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.4017, allocations: 39.78 kB / 0.5647 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.402, allocations: 95.59 kB / 0.5648 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.4022, allocations: 83.66 kB / 0.5649 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.4024, allocations: 99.69 kB / 0.565 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.4025, allocations: 8 kB / 0.565 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.4027, allocations: 59.64 kB / 0.565 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.4027, allocations: 23.86 kB / 0.5651 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.4028, allocations: 8 kB / 0.5651 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.4029, allocations: 47.97 kB / 0.5651 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.065e-05/0.4029, allocations: 19.92 kB / 0.5651 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.403, allocations: 35.69 kB / 0.5652 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.4032, allocations: 125.9 kB / 0.5653 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4032, allocations: 3.938 kB / 0.5653 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4032, allocations: 0 / 0.5653 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.4032, allocations: 0 / 0.5653 GB, free: 0.9453 MB / 398.1 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.0006331/0.4039, allocations: 337.6 kB / 0.5656 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4039, allocations: 16.03 kB / 0.5656 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.404, allocations: 12.89 kB / 0.5656 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.4043, allocations: 155 kB / 0.5658 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.4043, allocations: 4.312 kB / 0.5658 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.4043, allocations: 12.12 kB / 0.5658 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.4045, allocations: 49.67 kB / 0.5659 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4045, allocations: 0 / 0.5659 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.4045, allocations: 4 kB / 0.5659 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4045, allocations: 4 kB / 0.5659 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.768e-05/0.4046, allocations: 19.98 kB / 0.5659 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.4052, allocations: 259.9 kB / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.4054, allocations: 54.61 kB / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.4055, allocations: 16.86 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.4055, allocations: 8 kB / 0.5662 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.4057, allocations: 63.39 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4057, allocations: 0 / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006247/0.4063, allocations: 185.3 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.4064, allocations: 55.34 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.4066, allocations: 194.3 kB / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.4066, allocations: 29.7 kB / 0.5667 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.4067, allocations: 108.1 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.4067, allocations: 27.78 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.4068, allocations: 21.72 kB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.407, allocations: 330.8 kB / 0.5672 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.407, allocations: 23.92 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.227e-05/0.4071, allocations: 37.64 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.4072, allocations: 61.72 kB / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4072, allocations: 0 / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001942/0.4074, allocations: 105.5 kB / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4074, allocations: 10.5 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4074, allocations: 0 / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4075, allocations: 0 / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.4076, allocations: 19.98 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4076, allocations: 0 / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.4076, allocations: 7.938 kB / 0.5674 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.4076, allocations: 8.031 kB / 0.5674 GB, free: 14.55 MB / 414.1 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 0.0001276/0.4078, allocations: 129.8 kB / 0.5676 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.4078, allocations: 11.91 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.408, allocations: 119.2 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.408, allocations: 0 / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4081, allocations: 0 / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4081, allocations: 3.938 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.4086, allocations: 366.4 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4086, allocations: 0 / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.4086, allocations: 11.94 kB / 0.5681 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.4086, allocations: 3.984 kB / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.4086, allocations: 11.94 kB / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4086, allocations: 0 / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4086, allocations: 0 / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.4089, allocations: 200.3 kB / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.4089, allocations: 15.89 kB / 0.5683 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.409, allocations: 7.938 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.409, allocations: 4.359 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.4091, allocations: 4 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.4091, allocations: 8 kB / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.4092, allocations: 148.2 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4092, allocations: 3.938 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.4095, allocations: 31.92 kB / 0.5685 GB, free: 13.4 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.001815/0.4114, allocations: 464.6 kB / 0.5689 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.4116, allocations: 55.92 kB / 0.569 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4116, allocations: 0 / 0.569 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.4116, allocations: 23.98 kB / 0.569 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.412, allocations: 32.31 kB / 0.569 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.4125, allocations: 268.6 kB / 0.5693 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.4129, allocations: 0.7119 MB / 0.57 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.413, allocations: 15.44 kB / 0.57 GB, free: 11.97 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.413, allocations: 0 / 0.57 GB, free: 11.97 MB / 414.1 MB Notification: Performance of Templates: time 0.00456/0.4175, allocations: 1.964 MB / 0.5719 GB, free: 10.01 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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: 8.07752168388106]