Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001974/0.001974, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001727/0.001727, allocations: 169.1 kB / 24.5 MB, free: 3.453 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.479/1.479, allocations: 177.2 MB / 204.9 MB, free: 9.062 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.2189/0.2189, allocations: 34.26 MB / 295.5 MB, free: 14.62 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.83 kB / 443.2 MB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3319, allocations: 66 MB / 0.4973 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002557/0.3345, allocations: 1.883 MB / 0.4991 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.3359, allocations: 1.075 MB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.486e-05/0.336, allocations: 3.156 kB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.3363, allocations: 250.6 kB / 0.5004 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.3367, allocations: 239.5 kB / 0.5007 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.3369, allocations: 115 kB / 0.5008 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.3371, allocations: 273.7 kB / 0.501 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.144e-05/0.3372, allocations: 26.83 kB / 0.501 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.3373, allocations: 130.9 kB / 0.5012 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.3375, allocations: 206.9 kB / 0.5014 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.3375, allocations: 9 kB / 0.5014 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3376, allocations: 64.06 kB / 0.5014 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.754e-05/0.3377, allocations: 70.89 kB / 0.5015 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.3377, allocations: 69.73 kB / 0.5016 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.338, allocations: 265 kB / 0.5018 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.338, allocations: 3.938 kB / 0.5018 GB, free: 27.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.338, allocations: 0 / 0.5018 GB, free: 27.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.338, allocations: 0 / 0.5018 GB, free: 27.28 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005148/0.3385, allocations: 0.5145 MB / 0.5023 GB, free: 26.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.639e-05/0.3385, allocations: 10.12 kB / 0.5023 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.3386, allocations: 38.34 kB / 0.5024 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.3388, allocations: 233.3 kB / 0.5026 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3388, allocations: 3.656 kB / 0.5026 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.3389, allocations: 18.88 kB / 0.5026 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.339, allocations: 115.2 kB / 0.5027 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3391, allocations: 0 / 0.5027 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3391, allocations: 0 / 0.5027 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.3391, allocations: 3.188 kB / 0.5027 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3392, allocations: 50.95 kB / 0.5028 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.3395, allocations: 421.3 kB / 0.5032 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.3398, allocations: 122 kB / 0.5033 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.125e-05/0.3399, allocations: 51.89 kB / 0.5034 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.3399, allocations: 2.781 kB / 0.5034 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.3401, allocations: 129.7 kB / 0.5035 GB, free: 25.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.3401, allocations: 0 / 0.5035 GB, free: 25.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001118/0.3413, allocations: 0.524 MB / 0.504 GB, free: 25.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.3413, allocations: 87.89 kB / 0.5041 GB, free: 25.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.3417, allocations: 0.5012 MB / 0.5046 GB, free: 25.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3417, allocations: 29.7 kB / 0.5046 GB, free: 25.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.3418, allocations: 176.9 kB / 0.5048 GB, free: 25.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.3418, allocations: 67.19 kB / 0.5048 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.3419, allocations: 43 kB / 0.5049 GB, free: 25.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.146e-05/0.3419, allocations: 346.2 kB / 0.5052 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.342, allocations: 67.39 kB / 0.5053 GB, free: 24.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.3422, allocations: 98.33 kB / 0.5054 GB, free: 24.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.3424, allocations: 166.7 kB / 0.5055 GB, free: 24.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3424, allocations: 0 / 0.5055 GB, free: 24.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003305/0.3427, allocations: 240.6 kB / 0.5057 GB, free: 24.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.3427, allocations: 8.438 kB / 0.5057 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3427, allocations: 6.969 kB / 0.5058 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3427, allocations: 0 / 0.5058 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3429, allocations: 47.47 kB / 0.5058 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3429, allocations: 0 / 0.5058 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.11e-05/0.343, allocations: 16.86 kB / 0.5058 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.343, allocations: 11.42 kB / 0.5058 GB, free: 24.53 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001093/0.3431, allocations: 167.7 kB / 0.506 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.3431, allocations: 35.58 kB / 0.506 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004446/0.3436, allocations: 292.4 kB / 0.5063 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3436, allocations: 3.625 kB / 0.5063 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.3436, allocations: 0 / 0.5063 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3436, allocations: 0 / 0.5063 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007022/0.3443, allocations: 0.6941 MB / 0.507 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3443, allocations: 3.125 kB / 0.507 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.912e-05/0.3444, allocations: 41.59 kB / 0.507 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3444, allocations: 0 / 0.507 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3444, allocations: 10.5 kB / 0.507 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3444, allocations: 6.625 kB / 0.507 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3444, allocations: 0 / 0.507 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.3448, allocations: 450.8 kB / 0.5075 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.3448, allocations: 36.78 kB / 0.5075 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.3448, allocations: 7.156 kB / 0.5075 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.345, allocations: 7.156 kB / 0.5075 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.345, allocations: 31.8 kB / 0.5076 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.345, allocations: 9.406 kB / 0.5076 GB, free: 23.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002632/0.3453, allocations: 380 kB / 0.5079 GB, free: 23.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3453, allocations: 0 / 0.5079 GB, free: 23.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000337/0.3456, allocations: 52.06 kB / 0.508 GB, free: 23.22 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001953/0.3476, allocations: 0.5426 MB / 0.5085 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.3479, allocations: 158.7 kB / 0.5087 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3479, allocations: 3.156 kB / 0.5087 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.348, allocations: 78.36 kB / 0.5087 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.3485, allocations: 73.81 kB / 0.5088 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.3492, allocations: 0.618 MB / 0.5094 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.3494, allocations: 182.8 kB / 0.5096 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.631e-05/0.3494, allocations: 40.25 kB / 0.5096 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.3495, allocations: 26.62 kB / 0.5096 GB, free: 22.41 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3495, allocations: 0 / 0.5096 GB, free: 22.41 MB / 446.1 MB Notification: Performance of Templates: time 0.007136/0.3566, allocations: 3.321 MB / 0.5129 GB, free: 21.97 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.0890308489324525]