Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.001749/0.001749, allocations: 73.72 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.002081/0.002081, allocations: 160.8 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.466/1.466, allocations: 177.2 MB / 204.9 MB, free: 8.996 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.2206/0.2206, allocations: 34.27 MB / 295.5 MB, free: 14.56 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 71.88 kB / 443.2 MB, free: 6.586 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3234, allocations: 66 MB / 0.4973 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002685/0.3261, allocations: 1.716 MB / 0.499 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.3275, allocations: 0.973 MB / 0.4999 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.3276, allocations: 0 / 0.4999 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.3278, allocations: 40.06 kB / 0.5 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.3281, allocations: 97.27 kB / 0.5 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.3283, allocations: 84.2 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.3284, allocations: 100.6 kB / 0.5002 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.886e-05/0.3285, allocations: 18.34 kB / 0.5002 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.151e-05/0.3286, allocations: 38.89 kB / 0.5003 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.3286, allocations: 32.61 kB / 0.5003 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.3287, allocations: 6.375 kB / 0.5003 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.136e-05/0.3287, allocations: 43.31 kB / 0.5004 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.3288, allocations: 17.8 kB / 0.5004 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.3288, allocations: 36.91 kB / 0.5004 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.329, allocations: 121.6 kB / 0.5005 GB, free: 27.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.329, allocations: 0 / 0.5005 GB, free: 27.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.329, allocations: 0 / 0.5005 GB, free: 27.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.329, allocations: 0 / 0.5005 GB, free: 27.78 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000459/0.3295, allocations: 350.8 kB / 0.5009 GB, free: 27.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3295, allocations: 9.594 kB / 0.5009 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.3295, allocations: 11.56 kB / 0.5009 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.3297, allocations: 149.7 kB / 0.501 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3297, allocations: 8.312 kB / 0.501 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.3298, allocations: 7.281 kB / 0.501 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.3299, allocations: 65.2 kB / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3299, allocations: 0 / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.3299, allocations: 0 / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3299, allocations: 7.266 kB / 0.5011 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/0.33, allocations: 16.89 kB / 0.5011 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.3303, allocations: 235.4 kB / 0.5013 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.3304, allocations: 59.48 kB / 0.5014 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.3305, allocations: 18.98 kB / 0.5014 GB, free: 26.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3305, allocations: 3.281 kB / 0.5014 GB, free: 26.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.3306, allocations: 67.03 kB / 0.5015 GB, free: 26.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3306, allocations: 0 / 0.5015 GB, free: 26.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004982/0.3311, allocations: 189.8 kB / 0.5017 GB, free: 26.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.3312, allocations: 55.41 kB / 0.5017 GB, free: 26.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3313, allocations: 195.1 kB / 0.5019 GB, free: 26.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.3313, allocations: 32.92 kB / 0.5019 GB, free: 26.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.3313, allocations: 102.5 kB / 0.502 GB, free: 26.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.3314, allocations: 29.44 kB / 0.5021 GB, free: 26.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.3314, allocations: 24.12 kB / 0.5021 GB, free: 26.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.3315, allocations: 329.3 kB / 0.5024 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.663e-05/0.3315, allocations: 24.58 kB / 0.5024 GB, free: 26.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.3316, allocations: 41.22 kB / 0.5025 GB, free: 26.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.3317, allocations: 61.31 kB / 0.5025 GB, free: 26.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3317, allocations: 0 / 0.5025 GB, free: 26.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001596/0.3318, allocations: 107.8 kB / 0.5026 GB, free: 25.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3318, allocations: 9.875 kB / 0.5026 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3318, allocations: 384 / 0.5026 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3319, allocations: 32 / 0.5026 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.517e-05/0.3319, allocations: 16.97 kB / 0.5027 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.332, allocations: 3.188 kB / 0.5027 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.332, allocations: 18.52 kB / 0.5027 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.332, allocations: 0 / 0.5027 GB, free: 25.97 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 (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 7.041e-05/0.3321, allocations: 130.7 kB / 0.5028 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.3321, allocations: 14.31 kB / 0.5028 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.3323, allocations: 127.3 kB / 0.5029 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3323, allocations: 0 / 0.5029 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3323, allocations: 3.25 kB / 0.5029 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3323, allocations: 7.422 kB / 0.5029 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.3327, allocations: 341.4 kB / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3327, allocations: 0 / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.3327, allocations: 12.95 kB / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3327, allocations: 0 / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.3327, allocations: 3.062 kB / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3327, allocations: 0 / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3327, allocations: 3.938 kB / 0.5033 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.3329, allocations: 217.3 kB / 0.5035 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.3329, allocations: 10.33 kB / 0.5035 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.333, allocations: 4 kB / 0.5035 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.333, allocations: 2.688 kB / 0.5035 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.3331, allocations: 18.12 kB / 0.5035 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3331, allocations: 6.188 kB / 0.5035 GB, free: 25.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.898e-05/0.3332, allocations: 153.3 kB / 0.5037 GB, free: 25.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3332, allocations: 3.062 kB / 0.5037 GB, free: 25.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.3334, allocations: 23.38 kB / 0.5037 GB, free: 25.18 MB / 446.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 (9): * Single equations (assignments): 7 * 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.00177/0.3352, allocations: 0.4898 MB / 0.5042 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.3354, allocations: 60.84 kB / 0.5042 GB, free: 24.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3354, allocations: 0 / 0.5042 GB, free: 24.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.838e-05/0.3354, allocations: 29.64 kB / 0.5043 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.3358, allocations: 37.77 kB / 0.5043 GB, free: 24.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.3362, allocations: 242.3 kB / 0.5045 GB, free: 24.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.025e-05/0.3362, allocations: 94.64 kB / 0.5046 GB, free: 24.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.502e-05/0.3363, allocations: 22.28 kB / 0.5047 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.3363, allocations: 15.16 kB / 0.5047 GB, free: 24.65 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3363, allocations: 0 / 0.5047 GB, free: 24.65 MB / 446.1 MB Notification: Performance of Templates: time 0.004425/0.3407, allocations: 1.825 MB / 0.5064 GB, free: 24.41 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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: 5.139345711097121]