Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, 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.329/1.329, allocations: 226.7 MB / 245.5 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001215, allocations: 105.1 kB / 296.7 MB, free: 6.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3292/0.3292, allocations: 44.83 MB / 392.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 67.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3122, allocations: 62.02 MB / 0.5152 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002557/0.3148, allocations: 1.791 MB / 0.5169 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.3165, allocations: 1.615 MB / 0.5185 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.3166, allocations: 3.062 kB / 0.5185 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.3168, allocations: 38.75 kB / 0.5185 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.317, allocations: 77.69 kB / 0.5186 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.3173, allocations: 91.72 kB / 0.5187 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.3174, allocations: 116.5 kB / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.924e-05/0.3175, allocations: 9.047 kB / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.436e-05/0.3176, allocations: 46.36 kB / 0.5189 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.3177, allocations: 51.34 kB / 0.5189 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.3177, allocations: 3.094 kB / 0.5189 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.3179, allocations: 99.28 kB / 0.519 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.3179, allocations: 25.55 kB / 0.519 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.318, allocations: 34.55 kB / 0.5191 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.3182, allocations: 175.4 kB / 0.5192 GB, free: 35.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3182, allocations: 0 / 0.5192 GB, free: 35.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3182, allocations: 0 / 0.5192 GB, free: 35.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.3182, allocations: 2.906 kB / 0.5192 GB, free: 35.1 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004422/0.3186, allocations: 433.6 kB / 0.5196 GB, free: 34.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.3187, allocations: 8.219 kB / 0.5197 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.3187, allocations: 18.02 kB / 0.5197 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.3189, allocations: 220 kB / 0.5199 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3189, allocations: 384 / 0.5199 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.319, allocations: 7.875 kB / 0.5199 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.3191, allocations: 80.89 kB / 0.52 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3191, allocations: 4 kB / 0.52 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3191, allocations: 4 kB / 0.52 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3192, allocations: 0 / 0.52 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.94e-05/0.3192, allocations: 35.09 kB / 0.52 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.3195, allocations: 297.3 kB / 0.5203 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.3197, allocations: 67.59 kB / 0.5204 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/0.3198, allocations: 25.17 kB / 0.5204 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3198, allocations: 9.844 kB / 0.5204 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.32, allocations: 70.42 kB / 0.5205 GB, free: 33.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.32, allocations: 7.922 kB / 0.5205 GB, free: 33.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004915/0.3205, allocations: 198.6 kB / 0.5206 GB, free: 33.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.3205, allocations: 79.92 kB / 0.5207 GB, free: 33.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3206, allocations: 177.3 kB / 0.5209 GB, free: 33.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.3207, allocations: 29.7 kB / 0.5209 GB, free: 33.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.3207, allocations: 94.5 kB / 0.521 GB, free: 33.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.3207, allocations: 33.08 kB / 0.521 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.3208, allocations: 22 kB / 0.5211 GB, free: 33.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.3208, allocations: 328.5 kB / 0.5214 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.453e-05/0.3209, allocations: 22.7 kB / 0.5214 GB, free: 33.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.3209, allocations: 50.77 kB / 0.5214 GB, free: 33.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.3211, allocations: 76.47 kB / 0.5215 GB, free: 33.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3211, allocations: 3.938 kB / 0.5215 GB, free: 33.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001617/0.3212, allocations: 113.8 kB / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.3212, allocations: 5.781 kB / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3213, allocations: 0 / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3213, allocations: 64 / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.3214, allocations: 29 kB / 0.5217 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3214, allocations: 0 / 0.5217 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.3214, allocations: 10.78 kB / 0.5217 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3214, allocations: 2.5 kB / 0.5217 GB, free: 32.96 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 (11): * Single equations (assignments): 11 * 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 6.386e-05/0.3215, allocations: 121 kB / 0.5218 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.3215, allocations: 9.188 kB / 0.5218 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.3216, allocations: 20.73 kB / 0.5218 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3216, allocations: 3.938 kB / 0.5218 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3216, allocations: 4 kB / 0.5218 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3216, allocations: 6.438 kB / 0.5218 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.3219, allocations: 406.2 kB / 0.5222 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.322, allocations: 0 / 0.5222 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.322, allocations: 10.53 kB / 0.5222 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.322, allocations: 0 / 0.5222 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.322, allocations: 13.53 kB / 0.5222 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.322, allocations: 0 / 0.5222 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.322, allocations: 7.969 kB / 0.5223 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.3224, allocations: 0.8014 MB / 0.523 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.3224, allocations: 84.58 kB / 0.5231 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.3225, allocations: 14.31 kB / 0.5231 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.3225, allocations: 0 / 0.5231 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.3226, allocations: 13.03 kB / 0.5231 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3226, allocations: 2.906 kB / 0.5231 GB, free: 31.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.569e-05/0.3227, allocations: 129.2 kB / 0.5233 GB, free: 31.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3227, allocations: 0 / 0.5233 GB, free: 31.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.323, allocations: 50.78 kB / 0.5233 GB, free: 31.46 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 (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.001015/0.3241, allocations: 0.5435 MB / 0.5239 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.3242, allocations: 73.62 kB / 0.5239 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3242, allocations: 0 / 0.5239 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.007e-05/0.3243, allocations: 40.61 kB / 0.524 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.3246, allocations: 18.89 kB / 0.524 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.3251, allocations: 375.9 kB / 0.5243 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.3252, allocations: 0.7058 MB / 0.525 GB, free: 30.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.997e-05/0.3253, allocations: 28.14 kB / 0.5251 GB, free: 30.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.3254, allocations: 24.38 kB / 0.5251 GB, free: 30.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3254, allocations: 0 / 0.5251 GB, free: 30.12 MB / 378.7 MB Notification: Performance of Templates: time 0.004725/0.3301, allocations: 2.426 MB / 0.5274 GB, free: 29.86 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches