Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001806/0.001806, allocations: 74.11 kB / 21.24 MB, free: 0.5547 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.002257/0.002257, allocations: 159.9 kB / 24.5 MB, free: 3.715 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.454/1.454, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.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.209/0.209, allocations: 34.27 MB / 295.5 MB, free: 14.57 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 71.88 kB / 443.2 MB, free: 6.594 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3221, allocations: 66.01 MB / 0.4973 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002929/0.325, allocations: 1.747 MB / 0.499 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.3266, allocations: 0.9726 MB / 0.5 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.3267, allocations: 7.094 kB / 0.5 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.3271, allocations: 109.4 kB / 0.5001 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.3275, allocations: 136.5 kB / 0.5002 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.3277, allocations: 80.27 kB / 0.5003 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.3279, allocations: 142.4 kB / 0.5004 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.328, allocations: 8.328 kB / 0.5004 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.3281, allocations: 67.09 kB / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.3283, allocations: 77.3 kB / 0.5006 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.3283, allocations: 6.594 kB / 0.5006 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.3284, allocations: 58.53 kB / 0.5006 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.3285, allocations: 40.05 kB / 0.5007 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.3285, allocations: 45.02 kB / 0.5007 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.3288, allocations: 159.2 kB / 0.5009 GB, free: 27.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3288, allocations: 3.094 kB / 0.5009 GB, free: 27.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3288, allocations: 0 / 0.5009 GB, free: 27.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3288, allocations: 0 / 0.5009 GB, free: 27.69 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005849/0.3294, allocations: 397.6 kB / 0.5012 GB, free: 27.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3294, allocations: 6.531 kB / 0.5012 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.3295, allocations: 18.22 kB / 0.5013 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.3297, allocations: 164 kB / 0.5014 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.3297, allocations: 11.44 kB / 0.5014 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.3297, allocations: 11.06 kB / 0.5014 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.3299, allocations: 72.75 kB / 0.5015 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.3299, allocations: 3.953 kB / 0.5015 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3299, allocations: 3.031 kB / 0.5015 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.33, allocations: 0 / 0.5015 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3301, allocations: 48.23 kB / 0.5016 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.3304, allocations: 277.3 kB / 0.5018 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.3307, allocations: 75.12 kB / 0.5019 GB, free: 26.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.374e-05/0.3308, allocations: 28.95 kB / 0.5019 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.3308, allocations: 3.25 kB / 0.5019 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.3309, allocations: 81 kB / 0.502 GB, free: 26.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.331, allocations: 0 / 0.502 GB, free: 26.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008252/0.3318, allocations: 321.5 kB / 0.5023 GB, free: 26.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.3318, allocations: 55.34 kB / 0.5024 GB, free: 26.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.332, allocations: 267 kB / 0.5026 GB, free: 26.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.332, allocations: 32.95 kB / 0.5026 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.3321, allocations: 121.4 kB / 0.5028 GB, free: 26.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.3321, allocations: 44.05 kB / 0.5028 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.3321, allocations: 35.56 kB / 0.5028 GB, free: 26.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.3322, allocations: 323.8 kB / 0.5031 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.3323, allocations: 45.23 kB / 0.5032 GB, free: 25.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.497e-05/0.3324, allocations: 62.45 kB / 0.5032 GB, free: 25.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.3325, allocations: 105.6 kB / 0.5033 GB, free: 25.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.3325, allocations: 0 / 0.5033 GB, free: 25.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002268/0.3327, allocations: 164.5 kB / 0.5035 GB, free: 25.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3328, allocations: 10.34 kB / 0.5035 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3328, allocations: 3.938 kB / 0.5035 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3328, allocations: 0 / 0.5035 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.27e-05/0.3329, allocations: 29.28 kB / 0.5035 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3329, allocations: 6.906 kB / 0.5036 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.3329, allocations: 7.422 kB / 0.5036 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3329, allocations: 6.062 kB / 0.5036 GB, free: 25.65 MB / 446.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 (16): * Single equations (assignments): 16 * 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 8.565e-05/0.333, allocations: 140.4 kB / 0.5037 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.3331, allocations: 24.92 kB / 0.5037 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.3334, allocations: 199.1 kB / 0.5039 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3334, allocations: 3.938 kB / 0.5039 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3334, allocations: 3.938 kB / 0.5039 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3334, allocations: 6.578 kB / 0.5039 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.3339, allocations: 459.2 kB / 0.5044 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3339, allocations: 0 / 0.5044 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.3339, allocations: 30.17 kB / 0.5044 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3339, allocations: 0 / 0.5044 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.334, allocations: 2.781 kB / 0.5044 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.334, allocations: 6.812 kB / 0.5044 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.334, allocations: 0 / 0.5044 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.3342, allocations: 278.7 kB / 0.5047 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.3343, allocations: 21.55 kB / 0.5047 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.3343, allocations: 4 kB / 0.5047 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.3344, allocations: 6.938 kB / 0.5047 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.3344, allocations: 12.88 kB / 0.5047 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.3344, allocations: 6.031 kB / 0.5047 GB, free: 24.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.3346, allocations: 199.8 kB / 0.5049 GB, free: 24.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3346, allocations: 0 / 0.5049 GB, free: 24.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.3348, allocations: 44.27 kB / 0.505 GB, free: 24.73 MB / 446.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 (16): * Single equations (assignments): 14 * 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.002044/0.3369, allocations: 0.5497 MB / 0.5055 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.3371, allocations: 100.9 kB / 0.5056 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3371, allocations: 2.75 kB / 0.5056 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.3372, allocations: 52.77 kB / 0.5056 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.3376, allocations: 56.34 kB / 0.5057 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.3381, allocations: 341.2 kB / 0.506 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.842e-05/0.3382, allocations: 115.6 kB / 0.5061 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.188e-05/0.3383, allocations: 24.03 kB / 0.5062 GB, free: 24.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.3383, allocations: 27.98 kB / 0.5062 GB, free: 24.1 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3383, allocations: 0 / 0.5062 GB, free: 24.1 MB / 446.1 MB Notification: Performance of Templates: time 0.005738/0.3441, allocations: 2.311 MB / 0.5084 GB, free: 23.8 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.915700157987885]