Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001015, allocations: 102.7 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3379/0.3379, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3082, allocations: 62.03 MB / 0.5152 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00309/0.3114, allocations: 1.8 MB / 0.5169 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.3129, allocations: 1.02 MB / 0.5179 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.485e-05/0.313, allocations: 0 / 0.5179 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.3134, allocations: 59.39 kB / 0.518 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.3136, allocations: 83.77 kB / 0.5181 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.3139, allocations: 98.73 kB / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.314, allocations: 100.5 kB / 0.5182 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.3141, allocations: 19.53 kB / 0.5183 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/0.3142, allocations: 38 kB / 0.5183 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.483e-05/0.3143, allocations: 43.81 kB / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.3143, allocations: 6.562 kB / 0.5183 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.3144, allocations: 40.16 kB / 0.5184 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.3145, allocations: 27.34 kB / 0.5184 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.3145, allocations: 46.81 kB / 0.5185 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.3147, allocations: 136.6 kB / 0.5186 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3147, allocations: 0 / 0.5186 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3147, allocations: 4 kB / 0.5186 GB, free: 35.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.83e-06/0.3148, allocations: 0 / 0.5186 GB, free: 35.6 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000565/0.3153, allocations: 450.7 kB / 0.519 GB, free: 35.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3154, allocations: 14.5 kB / 0.519 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.3154, allocations: 13.81 kB / 0.519 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.3156, allocations: 223.7 kB / 0.5193 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.3156, allocations: 384 / 0.5193 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3157, allocations: 10.88 kB / 0.5193 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.3158, allocations: 59.28 kB / 0.5193 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3158, allocations: 0 / 0.5193 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3159, allocations: 6.906 kB / 0.5193 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.3159, allocations: 0 / 0.5193 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.717e-05/0.3159, allocations: 22.66 kB / 0.5194 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.3163, allocations: 297.8 kB / 0.5196 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.3165, allocations: 62.95 kB / 0.5197 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.3166, allocations: 21.78 kB / 0.5197 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3166, allocations: 0 / 0.5197 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.3168, allocations: 66.36 kB / 0.5198 GB, free: 34.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.465e-06/0.3168, allocations: 3.984 kB / 0.5198 GB, free: 34.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005038/0.3173, allocations: 187.4 kB / 0.52 GB, free: 34.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.3174, allocations: 55.41 kB / 0.52 GB, free: 34.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.3176, allocations: 286.9 kB / 0.5203 GB, free: 34.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.3176, allocations: 25.7 kB / 0.5203 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.3176, allocations: 116 kB / 0.5204 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.3177, allocations: 25.53 kB / 0.5205 GB, free: 34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.3177, allocations: 22.36 kB / 0.5205 GB, free: 33.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.3178, allocations: 331.9 kB / 0.5208 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.481e-05/0.3178, allocations: 23.88 kB / 0.5208 GB, free: 33.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.882e-05/0.3179, allocations: 35.66 kB / 0.5208 GB, free: 33.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.318, allocations: 59.72 kB / 0.5209 GB, free: 33.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.318, allocations: 192 / 0.5209 GB, free: 33.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001577/0.3182, allocations: 109.5 kB / 0.521 GB, free: 33.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3182, allocations: 9.688 kB / 0.521 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3182, allocations: 4 kB / 0.521 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3182, allocations: 4.031 kB / 0.521 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.3183, allocations: 17.06 kB / 0.521 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3184, allocations: 2.625 kB / 0.521 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.3184, allocations: 7.875 kB / 0.5211 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3184, allocations: 5.469 kB / 0.5211 GB, free: 33.5 MB / 378.7 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 9.044e-05/0.3185, allocations: 136.2 kB / 0.5212 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.3185, allocations: 16.16 kB / 0.5212 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.482e-05/0.3186, allocations: 24.56 kB / 0.5212 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.3186, allocations: 6.562 kB / 0.5212 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3186, allocations: 0 / 0.5212 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3186, allocations: 3.938 kB / 0.5212 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.319, allocations: 409.9 kB / 0.5216 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.319, allocations: 0 / 0.5216 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.3191, allocations: 12.38 kB / 0.5216 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3191, allocations: 0 / 0.5216 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3191, allocations: 6.844 kB / 0.5216 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3191, allocations: 32 / 0.5216 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3191, allocations: 9.672 kB / 0.5217 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.3195, allocations: 0.7965 MB / 0.5224 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.3195, allocations: 87.7 kB / 0.5225 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.3195, allocations: 2.812 kB / 0.5225 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.3196, allocations: 14.05 kB / 0.5225 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.3196, allocations: 2.844 kB / 0.5225 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.3197, allocations: 2.875 kB / 0.5225 GB, free: 32.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.3198, allocations: 217.1 kB / 0.5227 GB, free: 32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3198, allocations: 0 / 0.5227 GB, free: 32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000335/0.3201, allocations: 26.75 kB / 0.5228 GB, free: 31.99 MB / 378.7 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 (8): * Single equations (assignments): 6 * 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.0009358/0.3211, allocations: 461.3 kB / 0.5232 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.3213, allocations: 60.61 kB / 0.5233 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3213, allocations: 0 / 0.5233 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.3214, allocations: 33.39 kB / 0.5233 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.3217, allocations: 34.55 kB / 0.5233 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.3223, allocations: 451 kB / 0.5238 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.3224, allocations: 0.7218 MB / 0.5245 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.503e-05/0.3225, allocations: 13.22 kB / 0.5245 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.3225, allocations: 21.28 kB / 0.5245 GB, free: 30.65 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3225, allocations: 2.969 kB / 0.5245 GB, free: 30.65 MB / 378.7 MB Notification: Performance of Templates: time 0.00423/0.3268, allocations: 1.75 MB / 0.5262 GB, free: 30.45 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches