Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 118.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.00164, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4088, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.004049/0.4129, allocations: 1.656 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.4143, allocations: 0.5468 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.501e-05/0.4144, allocations: 1.781 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008264/0.4152, allocations: 455.7 kB / 0.5336 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005972/0.4158, allocations: 289 kB / 0.5339 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.4163, allocations: 139.7 kB / 0.534 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.4166, allocations: 175.4 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.4167, allocations: 11.09 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.4169, allocations: 114.5 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.4172, allocations: 206.5 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.4172, allocations: 3.531 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.936e-05/0.4173, allocations: 41.23 kB / 0.5345 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.4174, allocations: 81.92 kB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.602e-05/0.4175, allocations: 102.2 kB / 0.5347 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.4179, allocations: 253.9 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4179, allocations: 4 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4179, allocations: 0 / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.4179, allocations: 0 / 0.535 GB, free: 10.95 MB / 398.1 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.0008216/0.4187, allocations: 0.6436 MB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4188, allocations: 9.938 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.138e-05/0.4189, allocations: 37.91 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.4192, allocations: 298 kB / 0.5359 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4192, allocations: 1.531 kB / 0.5359 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.4192, allocations: 3.406 kB / 0.5359 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.4194, allocations: 65.84 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4194, allocations: 0 / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.4194, allocations: 0.9688 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.4195, allocations: 1.031 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.4196, allocations: 22.83 kB / 0.536 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.4202, allocations: 385.4 kB / 0.5364 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.4204, allocations: 48 kB / 0.5364 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.4205, allocations: 16.03 kB / 0.5364 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.4205, allocations: 1.062 kB / 0.5364 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.4206, allocations: 38.55 kB / 0.5365 GB, free: 9.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.4206, allocations: 5 kB / 0.5365 GB, free: 9.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007536/0.4213, allocations: 218.9 kB / 0.5367 GB, free: 9.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.4214, allocations: 60.52 kB / 0.5367 GB, free: 9.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.4224, allocations: 0.8652 MB / 0.5376 GB, free: 8.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.4224, allocations: 29.64 kB / 0.5376 GB, free: 8.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.4226, allocations: 233.3 kB / 0.5378 GB, free: 8.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.4227, allocations: 9.938 kB / 0.5378 GB, free: 8.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.4227, allocations: 18.06 kB / 0.5379 GB, free: 8.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4229, allocations: 371.4 kB / 0.5382 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.423, allocations: 19.64 kB / 0.5382 GB, free: 8.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.907e-05/0.423, allocations: 19.52 kB / 0.5383 GB, free: 8.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.4232, allocations: 43.2 kB / 0.5383 GB, free: 8.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4232, allocations: 1.469 kB / 0.5383 GB, free: 8.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002315/0.4234, allocations: 119.4 kB / 0.5384 GB, free: 8.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4235, allocations: 8.906 kB / 0.5384 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.4235, allocations: 0 / 0.5384 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4235, allocations: 4.688 kB / 0.5384 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.513e-05/0.4236, allocations: 13.89 kB / 0.5384 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4236, allocations: 1.156 kB / 0.5384 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.783e-05/0.4236, allocations: 6.938 kB / 0.5384 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4236, allocations: 4.797 kB / 0.5385 GB, free: 8.129 MB / 398.1 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 0.00019/0.4238, allocations: 210.2 kB / 0.5387 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.4239, allocations: 42.03 kB / 0.5387 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.4242, allocations: 135.8 kB / 0.5388 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4242, allocations: 0 / 0.5388 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4243, allocations: 1.75 kB / 0.5388 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4243, allocations: 7.875 kB / 0.5388 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006905/0.425, allocations: 458.2 kB / 0.5393 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.425, allocations: 0 / 0.5393 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.425, allocations: 17.89 kB / 0.5393 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4251, allocations: 0 / 0.5393 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4251, allocations: 9.094 kB / 0.5393 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.4251, allocations: 1.062 kB / 0.5393 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4251, allocations: 0 / 0.5393 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.4254, allocations: 210.9 kB / 0.5395 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.474e-05/0.4255, allocations: 114.2 kB / 0.5396 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.4255, allocations: 9.375 kB / 0.5396 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.097e-05/0.4256, allocations: 10.27 kB / 0.5396 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.4256, allocations: 2.688 kB / 0.5396 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.4257, allocations: 1.5 kB / 0.5396 GB, free: 7.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007495/0.4264, allocations: 0.657 MB / 0.5403 GB, free: 6.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4264, allocations: 0 / 0.5403 GB, free: 6.812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.4267, allocations: 22.5 kB / 0.5403 GB, free: 6.809 MB / 398.1 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.0009516/0.4276, allocations: 401.9 kB / 0.5407 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.4279, allocations: 48.34 kB / 0.5407 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4279, allocations: 0 / 0.5407 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.065e-05/0.428, allocations: 24.05 kB / 0.5407 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.4284, allocations: 32.08 kB / 0.5408 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.4297, allocations: 0.7866 MB / 0.5415 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.4302, allocations: 0.8283 MB / 0.5424 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.205e-05/0.4302, allocations: 13.41 kB / 0.5424 GB, free: 5.363 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.4303, allocations: 11.91 kB / 0.5424 GB, free: 5.359 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4303, allocations: 1.156 kB / 0.5424 GB, free: 5.359 MB / 398.1 MB Notification: Performance of Templates: time 0.005167/0.4354, allocations: 1.502 MB / 0.5438 GB, free: 4.367 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches