Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.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.001494/0.001494, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.001631/0.001631, allocations: 204.7 kB / 25.13 MB, free: 3.578 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.439/1.439, allocations: 230.4 MB / 258.7 MB, free: 8.051 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.2298/0.2298, allocations: 46.94 MB / 362 MB, free: 4.23 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9") [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.002417/0.002417, allocations: 87.86 kB / 0.4979 GB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3082, allocations: 66.09 MB / 0.5624 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003308/0.3115, allocations: 1.725 MB / 0.5641 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3133, allocations: 1.044 MB / 0.5651 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.797e-05/0.3134, allocations: 7.938 kB / 0.5651 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.3137, allocations: 83.69 kB / 0.5652 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003351/0.3141, allocations: 119.5 kB / 0.5653 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.3143, allocations: 71.75 kB / 0.5654 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.3145, allocations: 127.7 kB / 0.5655 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.3146, allocations: 4 kB / 0.5655 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3147, allocations: 63.69 kB / 0.5656 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3148, allocations: 55.83 kB / 0.5656 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.3148, allocations: 4 kB / 0.5656 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3149, allocations: 51.91 kB / 0.5657 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.315, allocations: 19.92 kB / 0.5657 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.315, allocations: 43.67 kB / 0.5657 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3152, allocations: 121.9 kB / 0.5658 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3152, allocations: 0 / 0.5658 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3152, allocations: 4 kB / 0.5659 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3152, allocations: 0 / 0.5659 GB, free: 0.6836 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.0005521/0.3158, allocations: 357.4 kB / 0.5662 GB, free: 312 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3158, allocations: 12.03 kB / 0.5662 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.3159, allocations: 20.72 kB / 0.5662 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.3162, allocations: 166.2 kB / 0.5664 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3162, allocations: 4.375 kB / 0.5664 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3162, allocations: 384 / 0.5664 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3164, allocations: 61.98 kB / 0.5664 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3164, allocations: 0 / 0.5664 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3164, allocations: 4 kB / 0.5664 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3164, allocations: 0 / 0.5664 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.9e-05/0.3165, allocations: 16.03 kB / 0.5665 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.3169, allocations: 279.8 kB / 0.5667 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.3171, allocations: 58.67 kB / 0.5668 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.3171, allocations: 16.86 kB / 0.5668 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.3171, allocations: 3.984 kB / 0.5668 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.3173, allocations: 67.33 kB / 0.5669 GB, free: 15.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3173, allocations: 0 / 0.5669 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005407/0.3178, allocations: 177.4 kB / 0.567 GB, free: 15.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.3179, allocations: 59.39 kB / 0.5671 GB, free: 15.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.3181, allocations: 223.5 kB / 0.5673 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3181, allocations: 25.7 kB / 0.5673 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.3182, allocations: 108.1 kB / 0.5674 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.3182, allocations: 27.78 kB / 0.5675 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.3183, allocations: 25.72 kB / 0.5675 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3184, allocations: 326.8 kB / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/0.3185, allocations: 27.98 kB / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.3185, allocations: 33.7 kB / 0.5679 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.3187, allocations: 61.64 kB / 0.5679 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3187, allocations: 0 / 0.5679 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001949/0.3189, allocations: 101.6 kB / 0.568 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3189, allocations: 10.5 kB / 0.568 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3189, allocations: 0 / 0.568 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3189, allocations: 4.031 kB / 0.568 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.319, allocations: 23.92 kB / 0.5681 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.319, allocations: 0 / 0.5681 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.319, allocations: 0 / 0.5681 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.3191, allocations: 8 kB / 0.5681 GB, free: 14.21 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.0001109/0.3192, allocations: 129.8 kB / 0.5682 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.3192, allocations: 12.09 kB / 0.5682 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.3194, allocations: 123.1 kB / 0.5683 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3194, allocations: 7.938 kB / 0.5683 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3194, allocations: 0 / 0.5683 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3195, allocations: 0 / 0.5683 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.3199, allocations: 378.3 kB / 0.5687 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3199, allocations: 0 / 0.5687 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.32, allocations: 8.375 kB / 0.5687 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.32, allocations: 0 / 0.5687 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.32, allocations: 8 kB / 0.5687 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.32, allocations: 3.969 kB / 0.5687 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.32, allocations: 4 kB / 0.5687 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.3202, allocations: 212.2 kB / 0.5689 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.3203, allocations: 7.953 kB / 0.5689 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.3203, allocations: 0 / 0.5689 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.3204, allocations: 11.94 kB / 0.5689 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.3204, allocations: 19.91 kB / 0.5689 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.3204, allocations: 0 / 0.5689 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.3206, allocations: 169.1 kB / 0.5691 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3206, allocations: 0 / 0.5691 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.3209, allocations: 35.88 kB / 0.5691 GB, free: 13.02 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.001739/0.3226, allocations: 449.1 kB / 0.5696 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.3228, allocations: 63.89 kB / 0.5696 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3228, allocations: 0 / 0.5696 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/0.3229, allocations: 23.94 kB / 0.5697 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.3232, allocations: 34.34 kB / 0.5697 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.3237, allocations: 251.8 kB / 0.5699 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.3241, allocations: 0.7119 MB / 0.5706 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.977e-05/0.3242, allocations: 12.97 kB / 0.5706 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.3242, allocations: 19.42 kB / 0.5706 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3242, allocations: 3.938 kB / 0.5707 GB, free: 11.57 MB / 414.1 MB Notification: Performance of Templates: time 0.005089/0.3293, allocations: 1.781 MB / 0.5724 GB, free: 9.801 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.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.939593245042488]