Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 99.09 kB / 291.8 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4211/0.4211, allocations: 44.13 MB / 386.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 52.05 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3101, allocations: 60.8 MB / 0.5064 GB, free: 38.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002572/0.3127, allocations: 1.615 MB / 0.508 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005895/0.3134, allocations: 402.3 kB / 0.5083 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.3134, allocations: 2.906 kB / 0.5083 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.3136, allocations: 14.53 kB / 0.5084 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.3137, allocations: 31.67 kB / 0.5084 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.3139, allocations: 80.78 kB / 0.5085 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.3141, allocations: 58.38 kB / 0.5085 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.3142, allocations: 11.75 kB / 0.5085 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.3142, allocations: 19.09 kB / 0.5086 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.644e-05/0.3143, allocations: 24.39 kB / 0.5086 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.3143, allocations: 6.828 kB / 0.5086 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.3143, allocations: 24.56 kB / 0.5086 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.3144, allocations: 10.78 kB / 0.5086 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.3144, allocations: 24.7 kB / 0.5086 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.3145, allocations: 73.77 kB / 0.5087 GB, free: 36.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3146, allocations: 0 / 0.5087 GB, free: 36.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3146, allocations: 0 / 0.5087 GB, free: 36.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.3146, allocations: 4 kB / 0.5087 GB, free: 36.64 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003237/0.3149, allocations: 382.2 kB / 0.5091 GB, free: 36.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3149, allocations: 11.5 kB / 0.5091 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.315, allocations: 7.812 kB / 0.5091 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.3151, allocations: 193.2 kB / 0.5093 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.3151, allocations: 384 / 0.5093 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.3152, allocations: 3.188 kB / 0.5093 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.3153, allocations: 55.98 kB / 0.5093 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3153, allocations: 7 kB / 0.5093 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.3153, allocations: 0 / 0.5093 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3153, allocations: 3.984 kB / 0.5094 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.757e-05/0.3154, allocations: 19.25 kB / 0.5094 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.3156, allocations: 273.2 kB / 0.5096 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.3158, allocations: 46.61 kB / 0.5097 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.3159, allocations: 18.05 kB / 0.5097 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.3159, allocations: 4 kB / 0.5097 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.004e-05/0.3159, allocations: 33.41 kB / 0.5097 GB, free: 35.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3159, allocations: 0 / 0.5097 GB, free: 35.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004359/0.3163, allocations: 140 kB / 0.5099 GB, free: 35.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.95e-05/0.3164, allocations: 51.41 kB / 0.5099 GB, free: 35.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3165, allocations: 154 kB / 0.5101 GB, free: 35.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.3165, allocations: 25.7 kB / 0.5101 GB, free: 35.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.3165, allocations: 99.48 kB / 0.5102 GB, free: 35.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.3165, allocations: 13.19 kB / 0.5102 GB, free: 35.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.3166, allocations: 21.28 kB / 0.5102 GB, free: 35.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.93e-05/0.3166, allocations: 321.1 kB / 0.5105 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.3167, allocations: 24.86 kB / 0.5105 GB, free: 34.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.264e-05/0.3167, allocations: 18.59 kB / 0.5106 GB, free: 34.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.3169, allocations: 42.28 kB / 0.5106 GB, free: 34.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3169, allocations: 0 / 0.5106 GB, free: 34.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001457/0.317, allocations: 86.84 kB / 0.5107 GB, free: 34.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.317, allocations: 10 kB / 0.5107 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.317, allocations: 7.984 kB / 0.5107 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.3171, allocations: 0 / 0.5107 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.242e-05/0.3171, allocations: 20.45 kB / 0.5107 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3171, allocations: 3.25 kB / 0.5107 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.3172, allocations: 3.25 kB / 0.5107 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.3172, allocations: 3.938 kB / 0.5107 GB, free: 34.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.842e-05/0.3172, allocations: 119.8 kB / 0.5108 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.3173, allocations: 7.031 kB / 0.5108 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.3174, allocations: 93.12 kB / 0.5109 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3175, allocations: 2.969 kB / 0.5109 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3175, allocations: 0 / 0.5109 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3175, allocations: 0 / 0.5109 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.3178, allocations: 344.9 kB / 0.5113 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3178, allocations: 0 / 0.5113 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/0.3178, allocations: 19.95 kB / 0.5113 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3178, allocations: 2.938 kB / 0.5113 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3179, allocations: 0 / 0.5113 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3179, allocations: 3.938 kB / 0.5113 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3179, allocations: 0 / 0.5113 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.3182, allocations: 0.7565 MB / 0.512 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.3182, allocations: 77.11 kB / 0.5121 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.3182, allocations: 3 kB / 0.5121 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.235e-05/0.3183, allocations: 10.27 kB / 0.5121 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.3183, allocations: 6.812 kB / 0.5121 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.3183, allocations: 0 / 0.5121 GB, free: 33.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.473e-05/0.3184, allocations: 120.7 kB / 0.5122 GB, free: 33.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3184, allocations: 0 / 0.5122 GB, free: 33.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003122/0.3187, allocations: 22.69 kB / 0.5123 GB, free: 33.33 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0006991/0.3194, allocations: 403 kB / 0.5126 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.3196, allocations: 47.23 kB / 0.5127 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3196, allocations: 0 / 0.5127 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.05e-05/0.3197, allocations: 25.44 kB / 0.5127 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.3199, allocations: 17.7 kB / 0.5127 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.3202, allocations: 318.2 kB / 0.513 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.229e-05/0.3204, allocations: 0.6931 MB / 0.5137 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.685e-05/0.3204, allocations: 13.81 kB / 0.5137 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.3204, allocations: 20.36 kB / 0.5137 GB, free: 32.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3204, allocations: 0 / 0.5137 GB, free: 32.12 MB / 378.7 MB Notification: Performance of Templates: time 0.002534/0.323, allocations: 1.047 MB / 0.5148 GB, free: 31.98 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches