Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001505/0.001505, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001481/0.001481, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.222/0.222, allocations: 46.9 MB / 361.1 MB, free: 4.625 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 79.88 kB / 0.4968 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3285, allocations: 65.99 MB / 0.5613 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003568/0.3321, allocations: 1.74 MB / 0.563 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.334, allocations: 1.049 MB / 0.564 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.341e-05/0.334, allocations: 0 / 0.564 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.3343, allocations: 43.77 kB / 0.5641 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.3347, allocations: 91.61 kB / 0.5641 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.3349, allocations: 79.66 kB / 0.5642 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.335, allocations: 107.7 kB / 0.5643 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.3351, allocations: 4 kB / 0.5643 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.3352, allocations: 51.7 kB / 0.5644 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.565e-05/0.3353, allocations: 35.8 kB / 0.5644 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3353, allocations: 4 kB / 0.5644 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.945e-05/0.3354, allocations: 43.97 kB / 0.5645 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.3355, allocations: 15.92 kB / 0.5645 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.3355, allocations: 31.75 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.3358, allocations: 130.3 kB / 0.5646 GB, free: 1.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3358, allocations: 7.875 kB / 0.5646 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3358, allocations: 4 kB / 0.5646 GB, free: 1.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3358, allocations: 0 / 0.5646 GB, free: 1.547 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.000633/0.3364, allocations: 422.7 kB / 0.565 GB, free: 1.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3365, allocations: 8.031 kB / 0.565 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.3365, allocations: 8.891 kB / 0.5651 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.3368, allocations: 220.8 kB / 0.5653 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.3369, allocations: 4.359 kB / 0.5653 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.3369, allocations: 4.375 kB / 0.5653 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.3371, allocations: 65.98 kB / 0.5653 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3371, allocations: 3.938 kB / 0.5653 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3371, allocations: 4 kB / 0.5653 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3371, allocations: 0 / 0.5653 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.815e-05/0.3372, allocations: 19.98 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.3376, allocations: 280.9 kB / 0.5656 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.3378, allocations: 58.67 kB / 0.5657 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.3378, allocations: 16.8 kB / 0.5657 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3378, allocations: 4 kB / 0.5657 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.338, allocations: 67.38 kB / 0.5658 GB, free: 224 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.338, allocations: 0 / 0.5658 GB, free: 224 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005543/0.3386, allocations: 181.3 kB / 0.5659 GB, free: 36 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3386, allocations: 59.41 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.3388, allocations: 190.4 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.3388, allocations: 33.7 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.3389, allocations: 100.1 kB / 0.5663 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.3389, allocations: 27.78 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.339, allocations: 21.72 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3391, allocations: 326.8 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.234e-05/0.3392, allocations: 23.98 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.3393, allocations: 37.7 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.3394, allocations: 65.64 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3394, allocations: 0 / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000192/0.3396, allocations: 101.5 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3396, allocations: 4 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3396, allocations: 0 / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3396, allocations: 4.031 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/0.3397, allocations: 24.17 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3397, allocations: 0 / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.3398, allocations: 3.938 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.3398, allocations: 4 kB / 0.5669 GB, free: 14.96 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.000113/0.3399, allocations: 133.7 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.3399, allocations: 15.91 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.3402, allocations: 115 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3402, allocations: 4 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3402, allocations: 384 / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3402, allocations: 4 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.3406, allocations: 395.5 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3407, allocations: 8 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.3407, allocations: 7.984 kB / 0.5676 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3407, allocations: 4 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3407, allocations: 4 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3407, allocations: 7.969 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3407, allocations: 4 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.341, allocations: 200.2 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.341, allocations: 81.06 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.341, allocations: 11.98 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.3411, allocations: 3.938 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.3411, allocations: 8 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3412, allocations: 7.984 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.3413, allocations: 148.2 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3413, allocations: 0 / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.3416, allocations: 27.92 kB / 0.5681 GB, free: 13.68 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.001712/0.3433, allocations: 461.5 kB / 0.5685 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.3435, allocations: 55.91 kB / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3435, allocations: 0 / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.3436, allocations: 23.94 kB / 0.5686 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.3439, allocations: 31.97 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.3444, allocations: 250.7 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3448, allocations: 0.7119 MB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.462e-05/0.3448, allocations: 13.19 kB / 0.5696 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.3449, allocations: 19.42 kB / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3449, allocations: 0 / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of Templates: time 0.005036/0.3499, allocations: 1.768 MB / 0.5713 GB, free: 10.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.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: 4.933632879052311]