Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001117/0.001117, 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.264/1.264, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 101.4 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3579/0.3579, allocations: 44.82 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 68.22 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3556, allocations: 62.02 MB / 0.5152 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003114/0.3588, allocations: 1.794 MB / 0.5169 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.3607, allocations: 1.027 MB / 0.5179 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.3608, allocations: 0 / 0.5179 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.3613, allocations: 46.3 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.3616, allocations: 80.92 kB / 0.518 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.3619, allocations: 91.92 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.3621, allocations: 96.91 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3622, allocations: 13.81 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.236e-05/0.3623, allocations: 44.05 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.924e-05/0.3624, allocations: 40.66 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3624, allocations: 0 / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3625, allocations: 42.44 kB / 0.5184 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.3626, allocations: 26.3 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.3626, allocations: 32.03 kB / 0.5184 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.3628, allocations: 115 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3629, allocations: 0 / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3629, allocations: 3.938 kB / 0.5185 GB, free: 35.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3629, allocations: 0 / 0.5185 GB, free: 35.53 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.0005379/0.3634, allocations: 436.7 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3635, allocations: 8.812 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.3635, allocations: 10.59 kB / 0.519 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.3637, allocations: 213.8 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3637, allocations: 3.469 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3638, allocations: 4.125 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.3639, allocations: 61.62 kB / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3639, allocations: 0 / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.3639, allocations: 0 / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.364, allocations: 4 kB / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.364, allocations: 22 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.3644, allocations: 290.7 kB / 0.5195 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.3645, allocations: 53.73 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.3646, allocations: 17.58 kB / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3646, allocations: 7.328 kB / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.3648, allocations: 68.28 kB / 0.5197 GB, free: 34.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3648, allocations: 0 / 0.5197 GB, free: 34.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004977/0.3653, allocations: 182.9 kB / 0.5198 GB, free: 34.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.3654, allocations: 51.41 kB / 0.5199 GB, free: 34.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3655, allocations: 204.9 kB / 0.5201 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.3655, allocations: 32.48 kB / 0.5201 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.3656, allocations: 109.7 kB / 0.5202 GB, free: 34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.3656, allocations: 30.12 kB / 0.5202 GB, free: 33.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.3656, allocations: 19.25 kB / 0.5203 GB, free: 33.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.765e-05/0.3657, allocations: 335.1 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.864e-05/0.3658, allocations: 15.47 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.371e-05/0.3658, allocations: 34.12 kB / 0.5206 GB, free: 33.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.616e-05/0.3659, allocations: 65.47 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3659, allocations: 0 / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001504/0.3661, allocations: 99.06 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3661, allocations: 5.375 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3661, allocations: 3.938 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3661, allocations: 6.859 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.3662, allocations: 18.28 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3662, allocations: 7.016 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.3663, allocations: 7.969 kB / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.3663, allocations: 6.75 kB / 0.5208 GB, free: 33.48 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 7.231e-05/0.3664, allocations: 130.5 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.3664, allocations: 11.31 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.3664, allocations: 18.47 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3664, allocations: 0 / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3665, allocations: 0 / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3665, allocations: 3.938 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.3668, allocations: 398.2 kB / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3668, allocations: 0 / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.972e-05/0.3668, allocations: 16.94 kB / 0.5214 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3669, allocations: 0 / 0.5214 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3669, allocations: 6.719 kB / 0.5214 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3669, allocations: 0 / 0.5214 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3669, allocations: 0 / 0.5214 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.3672, allocations: 0.7919 MB / 0.5222 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.3673, allocations: 90.61 kB / 0.5223 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.3673, allocations: 4 kB / 0.5223 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.489e-05/0.3674, allocations: 6.141 kB / 0.5223 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.3674, allocations: 3.281 kB / 0.5223 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.3674, allocations: 6.172 kB / 0.5223 GB, free: 32.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.023e-05/0.3675, allocations: 160.4 kB / 0.5224 GB, free: 32.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3675, allocations: 3.938 kB / 0.5224 GB, free: 32.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003399/0.3679, allocations: 28.2 kB / 0.5225 GB, free: 32 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.0009182/0.3688, allocations: 466.1 kB / 0.5229 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.369, allocations: 63.61 kB / 0.523 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.369, allocations: 0 / 0.523 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.3691, allocations: 29.75 kB / 0.523 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.3694, allocations: 29.73 kB / 0.523 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.3698, allocations: 384.9 kB / 0.5234 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.37, allocations: 0.7141 MB / 0.5241 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.046e-05/0.37, allocations: 16.83 kB / 0.5241 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.3701, allocations: 16.09 kB / 0.5241 GB, free: 30.69 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3701, allocations: 0 / 0.5241 GB, free: 30.69 MB / 378.7 MB Notification: Performance of Templates: time 0.003755/0.3738, allocations: 1.707 MB / 0.5258 GB, free: 30.5 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches