Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, 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.346/1.346, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001221/0.001221, allocations: 114.9 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3569/0.3569, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3165, allocations: 62.02 MB / 0.5152 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002675/0.3192, allocations: 1.795 MB / 0.5169 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3206, allocations: 1.026 MB / 0.5179 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.3207, allocations: 3.938 kB / 0.5179 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.321, allocations: 42.69 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.3212, allocations: 83.16 kB / 0.518 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.3214, allocations: 99.91 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.3215, allocations: 101.5 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.157e-05/0.3216, allocations: 9.875 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.708e-05/0.3217, allocations: 50.19 kB / 0.5183 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.3218, allocations: 38.36 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.3218, allocations: 6.812 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.823e-05/0.3219, allocations: 40.91 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.3219, allocations: 23.36 kB / 0.5184 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.322, allocations: 42.64 kB / 0.5184 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.3221, allocations: 124.5 kB / 0.5185 GB, free: 35.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3222, allocations: 3.422 kB / 0.5186 GB, free: 35.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3222, allocations: 4 kB / 0.5186 GB, free: 35.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.3222, allocations: 3.938 kB / 0.5186 GB, free: 35.5 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.0005386/0.3227, allocations: 425.9 kB / 0.519 GB, free: 35.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3228, allocations: 11.75 kB / 0.519 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.3228, allocations: 13.91 kB / 0.519 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.323, allocations: 211.4 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.323, allocations: 3.281 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.3231, allocations: 7.406 kB / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3232, allocations: 63.12 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3232, allocations: 0 / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3232, allocations: 0 / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3232, allocations: 6.812 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.43e-05/0.3233, allocations: 15.69 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.3236, allocations: 294.7 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.3237, allocations: 60.89 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.3238, allocations: 24.8 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3238, allocations: 0 / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.324, allocations: 68.03 kB / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.324, allocations: 0 / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004608/0.3245, allocations: 178.3 kB / 0.5199 GB, free: 34.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.3245, allocations: 55.41 kB / 0.5199 GB, free: 34.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.3247, allocations: 231.8 kB / 0.5202 GB, free: 34.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.3247, allocations: 31.67 kB / 0.5202 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.3247, allocations: 112.8 kB / 0.5203 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.3248, allocations: 22.59 kB / 0.5203 GB, free: 33.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.3248, allocations: 24.78 kB / 0.5203 GB, free: 33.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.3248, allocations: 334.1 kB / 0.5207 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-05/0.3249, allocations: 12.69 kB / 0.5207 GB, free: 33.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.3249, allocations: 39.3 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.906e-05/0.325, allocations: 71.27 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3251, allocations: 192 / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001461/0.3252, allocations: 102.5 kB / 0.5209 GB, free: 33.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.3252, allocations: 9.812 kB / 0.5209 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3252, allocations: 4 kB / 0.5209 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3252, allocations: 7.031 kB / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.656e-05/0.3253, allocations: 14.95 kB / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3253, allocations: 2.875 kB / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.3254, allocations: 7.938 kB / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.3254, allocations: 2.781 kB / 0.5209 GB, free: 33.45 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 6.459e-05/0.3255, allocations: 131.9 kB / 0.521 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.909e-05/0.3255, allocations: 13.53 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.3255, allocations: 18.5 kB / 0.5211 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3255, allocations: 2.594 kB / 0.5211 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3256, allocations: 7.938 kB / 0.5211 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3256, allocations: 3.938 kB / 0.5211 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.3259, allocations: 395.7 kB / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3259, allocations: 0 / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.3259, allocations: 10.03 kB / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3259, allocations: 3.938 kB / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3259, allocations: 7.938 kB / 0.5215 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3259, allocations: 0 / 0.5215 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.326, allocations: 7.938 kB / 0.5215 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.3263, allocations: 0.7863 MB / 0.5223 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.3263, allocations: 90.17 kB / 0.5224 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.3263, allocations: 3.984 kB / 0.5224 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.3264, allocations: 6.906 kB / 0.5224 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.3264, allocations: 10.11 kB / 0.5224 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.3265, allocations: 2.906 kB / 0.5224 GB, free: 32.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.892e-05/0.3266, allocations: 178.7 kB / 0.5225 GB, free: 31.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3266, allocations: 0 / 0.5225 GB, free: 31.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003281/0.3269, allocations: 21.06 kB / 0.5226 GB, free: 31.96 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.0008241/0.3277, allocations: 476.7 kB / 0.523 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.3279, allocations: 61.56 kB / 0.5231 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3279, allocations: 0 / 0.5231 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.906e-05/0.328, allocations: 29.16 kB / 0.5231 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.3283, allocations: 37.48 kB / 0.5231 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.3287, allocations: 418.2 kB / 0.5235 GB, free: 31.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.3288, allocations: 0.7138 MB / 0.5242 GB, free: 30.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.292e-05/0.3289, allocations: 15.67 kB / 0.5243 GB, free: 30.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.3289, allocations: 16.88 kB / 0.5243 GB, free: 30.63 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3289, allocations: 0 / 0.5243 GB, free: 30.63 MB / 378.7 MB Notification: Performance of Templates: time 0.003655/0.3326, allocations: 1.71 MB / 0.5259 GB, free: 30.44 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches