Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001362/0.001362, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001519/0.001519, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.549/1.549, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2291/0.2291, allocations: 46.96 MB / 361.6 MB, free: 4.051 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+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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.91 kB / 0.4974 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3191, allocations: 66.04 MB / 0.5619 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003343/0.3224, allocations: 1.718 MB / 0.5636 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.3242, allocations: 0.9755 MB / 0.5645 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.3243, allocations: 0 / 0.5645 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.3246, allocations: 83.69 kB / 0.5646 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.325, allocations: 123.5 kB / 0.5647 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.3252, allocations: 83.66 kB / 0.5648 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.3255, allocations: 127.7 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3256, allocations: 7.984 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3257, allocations: 75.69 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.3258, allocations: 71.67 kB / 0.5651 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.3258, allocations: 4 kB / 0.5651 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.326, allocations: 59.98 kB / 0.5651 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.326, allocations: 23.92 kB / 0.5652 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.3261, allocations: 39.72 kB / 0.5652 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.3264, allocations: 141.8 kB / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3264, allocations: 0 / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3264, allocations: 3.938 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3264, allocations: 0 / 0.5653 GB, free: 0.6172 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000593/0.327, allocations: 385.3 kB / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.327, allocations: 12.03 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.3271, allocations: 12.84 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.3274, allocations: 151.1 kB / 0.5659 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.3274, allocations: 4.375 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.3274, allocations: 8.391 kB / 0.5659 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3276, allocations: 61.59 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3276, allocations: 4 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3276, allocations: 7.922 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3276, allocations: 0 / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.36e-05/0.3277, allocations: 27.98 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.3281, allocations: 252.4 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.3284, allocations: 58.55 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.533e-05/0.3284, allocations: 28.91 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.3284, allocations: 0 / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.3286, allocations: 71.38 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.3286, allocations: 0 / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008028/0.3294, allocations: 249.2 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.3294, allocations: 55.41 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.3297, allocations: 239 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.3297, allocations: 29.7 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.804e-05/0.3298, allocations: 120 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.3299, allocations: 39.8 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.3299, allocations: 21.72 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.33, allocations: 338.8 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.628e-05/0.3301, allocations: 27.98 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.402e-05/0.3302, allocations: 53.64 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3304, allocations: 81.7 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.3304, allocations: 0 / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002421/0.3306, allocations: 133.5 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3306, allocations: 4 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3306, allocations: 0 / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3307, allocations: 11.88 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.3308, allocations: 19.98 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3308, allocations: 0 / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.3308, allocations: 11.97 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3308, allocations: 4 kB / 0.5677 GB, free: 13.95 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 (13): * Single equations (assignments): 13 * 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.0001206/0.3309, allocations: 136.6 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.331, allocations: 19.91 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.3313, allocations: 147.7 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3313, allocations: 4 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3313, allocations: 0 / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3313, allocations: 3.938 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000569/0.3319, allocations: 399.8 kB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3319, allocations: 0 / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.85e-05/0.332, allocations: 19.94 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.332, allocations: 0 / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.332, allocations: 3.938 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.332, allocations: 7.984 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.332, allocations: 3.938 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.3323, allocations: 233.2 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.3323, allocations: 19.89 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.3323, allocations: 7.938 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/0.3324, allocations: 8.031 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.3325, allocations: 15.92 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.3325, allocations: 4 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.3326, allocations: 179.2 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3326, allocations: 0 / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.3329, allocations: 31.92 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002106/0.335, allocations: 0.5426 MB / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.3353, allocations: 75.91 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3353, allocations: 4.062 kB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.777e-05/0.3354, allocations: 39.92 kB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.3358, allocations: 46.81 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/0.3364, allocations: 326 kB / 0.5699 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.3365, allocations: 101.8 kB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.3365, allocations: 23.56 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3365, allocations: 0 / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of Templates: time 0.004447/0.341, allocations: 2.307 MB / 0.5723 GB, free: 9.379 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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: 7.918369826016715]